diff options
author | unknown <monty@mashka.mysql.fi> | 2002-11-24 21:44:25 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2002-11-24 21:44:25 +0200 |
commit | be5d04e8fced4176ec705b1188a6075e1253d9ca (patch) | |
tree | bfcde66d89b433e74a73c08683ef369eb5039814 /sql/handler.cc | |
parent | 79cdd8773c365d80e6ed528668dfb03eda7406b3 (diff) | |
parent | f81084a2e0003f2d6ef1d263d8c312903966e8ff (diff) | |
download | mariadb-git-be5d04e8fced4176ec705b1188a6075e1253d9ca.tar.gz |
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
sql/opt_range.cc:
Auto merged
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index f07e90d2eb9..c4e742ef519 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -314,7 +314,7 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans) } #endif #ifdef HAVE_QUERY_CACHE - if (transaction_commited) + if (transaction_commited && thd->transaction.changed_tables) query_cache.invalidate(thd->transaction.changed_tables); #endif /*HAVE_QUERY_CACHE*/ if (error && trans == &thd->transaction.all && mysql_bin_log.is_open()) |