summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-02-14 22:20:38 +0200
committerunknown <bell@sanja.is.com.ua>2003-02-14 22:20:38 +0200
commitd13d8aa00eed069f1f2454ceb6a12b3158b4796a (patch)
treec8abda27b5b7d2dd84cb7f60a873026ef2ddaef0 /sql/sql_load.cc
parentfb2c8c7cb879f7f46fda0398e4aa3051d9017997 (diff)
downloadmariadb-git-d13d8aa00eed069f1f2454ceb6a12b3158b4796a.tar.gz
fixed invalidation of query cache on LOAD DATA
mysql-test/r/query_cache.result: test of LOAD DATA mysql-test/t/query_cache.test: test of LOAD DATA
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index c1c6267879e..ba62b1d5c20 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -336,6 +336,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
}
if (transactional_table)
error=ha_autocommit_or_rollback(thd,error);
+ query_cache_invalidate3(thd, table_list, 0);
err:
if (thd->lock)