diff options
author | unknown <bell@sanja.is.com.ua> | 2002-03-22 22:55:08 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-03-22 22:55:08 +0200 |
commit | 3d2ac023a0356f72c64487715364232a3bd11abd (patch) | |
tree | a691fc4031ec0bdda379decf4651d4789739c5e8 /sql/handler.cc | |
parent | 58e0b04efc2655cafd2ba46b75c6f59e99aa5459 (diff) | |
download | mariadb-git-3d2ac023a0356f72c64487715364232a3bd11abd.tar.gz |
added building without query cache
configure.in:
new configure parameter (now only for embeded server)
include/my_global.h:
now query cache always included in server, because of problrms with test suit
mysql-test/r/flush.result:
removed double testing
mysql-test/t/flush.test:
removed double testing
mysql-test/t/grant_cache.test:
now it is only memo about query cache
mysql-test/t/query_cache.test:
now it is only memo about query cache
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 33b42c6c6b0..a89e53a5846 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -309,8 +309,10 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans) } #endif +#ifdef HAVE_QUERY_CACHE if (transaction_commited) query_cache.invalidate(thd->transaction.changed_tables); +#endif /*HAVE_QUERY_CACHE*/ if (error && trans == &thd->transaction.all && mysql_bin_log.is_open()) sql_print_error("Error: Got error during commit; Binlog is not up to date!"); thd->tx_isolation=thd->session_tx_isolation; |