11.07.2016, 17:27
Quick question: does the plugin support multiple caches? For example if in one tquery/pquery callback I send a unthreded query?
Sample code
It works well on the first iteration but on the second I get a "no active cache" warning. If so, I guess I could save the cache from first query, but since the second query is actually in a different module of mine, it doesn't look like a good solution.
P.S. I'm on 39-3. Will the dreaded HTML log color will ever change?
Sample code
pawn Код:
for(new i = 0; i < cache_get_row_count(); i++)
{
new Cache:result = mysql_query("...");
if(cache_get_row_count())
// stuff
cache_delete(result);
}
P.S. I'm on 39-3. Will the dreaded HTML log color will ever change?