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/sql_insert.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/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 13c2564a2a6..235adcc02c1 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -311,7 +311,7 @@ int mysql_insert(THD *thd,TABLE_LIST *table_list, List<Item> &fields, } thd->proc_info="end"; if (info.copied || info.deleted) - query_cache.invalidate(thd, table_list, 1); + query_cache_invalidate3(thd, table_list, 1); table->time_stamp=save_time_stamp; // Restore auto timestamp ptr table->next_number_field=0; thd->count_cuted_fields=0; @@ -1217,7 +1217,7 @@ bool delayed_insert::handle_inserts(void) sql_print_error("%s",thd.net.last_error); goto err; } - query_cache.invalidate(&thd, table, 1); + query_cache_invalidate3(&thd, table, 1); if (thr_reschedule_write_lock(*thd.lock->locks)) { /* This should never happen */ @@ -1242,7 +1242,7 @@ bool delayed_insert::handle_inserts(void) sql_print_error("%s",thd.net.last_error); goto err; } - query_cache.invalidate(&thd, table, 1); + query_cache_invalidate3(&thd, table, 1); pthread_mutex_lock(&mutex); DBUG_RETURN(0); @@ -1330,7 +1330,7 @@ void select_insert::send_error(uint errcode,const char *err) table->file->activate_all_index(thd); ha_rollback_stmt(thd); if (info.copied || info.deleted) - query_cache.invalidate(thd, table, 1); + query_cache_invalidate3(thd, table, 1); } @@ -1343,7 +1343,7 @@ bool select_insert::send_eof() if ((error2=ha_autocommit_or_rollback(thd,error)) && ! error) error=error2; if (info.copied || info.deleted) - query_cache.invalidate(thd, table, 1); + query_cache_invalidate3(thd, table, 1); if (error) { |