1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

cleanup: ifdefs

This commit is contained in:
Sergei Golubchik
2022-11-07 16:10:10 +01:00
parent 0311b11225
commit 8a8f71b8b8
7 changed files with 15 additions and 25 deletions

View File

@@ -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;