diff options
author | sasha@mysql.sashanet.com <> | 2001-08-06 16:47:48 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-08-06 16:47:48 -0600 |
commit | d9737f20f838f189ef1f3d25df7739770f3b52b9 (patch) | |
tree | 3899db9196d895b67af082ace2454b1268b01d70 /sql/log.cc | |
parent | 31f269f1dde00a510bdd4f3a098b424b7d8126bd (diff) | |
download | mariadb-git-d9737f20f838f189ef1f3d25df7739770f3b52b9.tar.gz |
misc bug fixes
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 2 |
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 |