mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
cleanup: ifdefs
This commit is contained in:
@@ -4899,10 +4899,8 @@ mysql_execute_command(THD *thd, bool is_called_from_prepared_stmt)
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef HAVE_QUERY_CACHE
|
||||
if (thd->variables.query_cache_wlock_invalidate)
|
||||
query_cache.invalidate_locked_for_write(thd, first_table);
|
||||
#endif /*HAVE_QUERY_CACHE*/
|
||||
query_cache_invalidate_locked_for_write(thd, first_table);
|
||||
my_ok(thd);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user