summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-03-22 22:55:08 +0200
committerunknown <bell@sanja.is.com.ua>2002-03-22 22:55:08 +0200
commit3d2ac023a0356f72c64487715364232a3bd11abd (patch)
treea691fc4031ec0bdda379decf4651d4789739c5e8 /sql/sql_update.cc
parent58e0b04efc2655cafd2ba46b75c6f59e99aa5459 (diff)
downloadmariadb-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/sql_update.cc')
-rw-r--r--sql/sql_update.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index a9eb6cef6a6..db520af61c1 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -324,7 +324,7 @@ int mysql_update(THD *thd,
thd->lock=0;
}
if (updated)
- query_cache.invalidate(thd, table_list, 1);
+ query_cache_invalidate3(thd, table_list, 1);
delete select;
if (error >= 0)
@@ -788,7 +788,7 @@ bool multi_update::send_eof()
sprintf(buff,ER(ER_UPDATE_INFO), (long) found, (long) updated,
(long) thd->cuted_fields);
if (updated)
- query_cache.invalidate(thd, update_tables, 1);
+ query_cache_invalidate3(thd, update_tables, 1);
::send_ok(&thd->net,
(thd->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated,