Quote:
Originally Posted by maddinat0r
"mysql_query" always creates a cache, unless its third parameter is set to "false" (by default it's "true").
More info at the wiki.
Also it's unnecessary to check if a cache is valid directly after creating it through "mysql_query". Calling "cache_delete" on an invalid cache will only generate a warning and return "false".
|
I really don't understand what's going on, I've been checking my whole code and all the non-threaded queries has their cache deleted after used, I also did cache_set_active(Cache:0) before creating a new cache but even after unset the current (unknown?) cache by this way, I still get the warning in that code, everything goes well in query retrieved results but that's really strange.