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 | 0b4b38b6222d95ca6c118df7bd4cdf8f1a275bb3 (patch) | |
tree | a691fc4031ec0bdda379decf4651d4789739c5e8 /sql/handler.cc | |
parent | 62cf4553759b305a9f40c2692bd20cc7e3b10460 (diff) | |
download | mariadb-git-0b4b38b6222d95ca6c118df7bd4cdf8f1a275bb3.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; |