summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-08-06 16:47:48 -0600
committersasha@mysql.sashanet.com <>2001-08-06 16:47:48 -0600
commitd9737f20f838f189ef1f3d25df7739770f3b52b9 (patch)
tree3899db9196d895b67af082ace2454b1268b01d70 /sql/log.cc
parent31f269f1dde00a510bdd4f3a098b424b7d8126bd (diff)
downloadmariadb-git-d9737f20f838f189ef1f3d25df7739770f3b52b9.tar.gz
misc bug fixes
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc
index ba09ac86fe6..8976cb87375 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -653,7 +653,7 @@ bool MYSQL_LOG::write(Log_event* event_info)
THD *thd=event_info->thd;
const char* db = event_info->get_db();
#ifdef USING_TRANSACTIONS
- IO_CACHE *file = ((event_info->cache_stmt && thd) ?
+ IO_CACHE *file = ((event_info->get_cache_stmt() && thd) ?
&thd->transaction.trans_log :
&log_file);
#else