16.08.2015, 19:33
"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".
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".