summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-08-06 16:47:48 -0600
committerunknown <sasha@mysql.sashanet.com>2001-08-06 16:47:48 -0600
commit4bb40187438bdfb8b1d8b091399bd01e0e3425c1 (patch)
tree3899db9196d895b67af082ace2454b1268b01d70 /sql/log.cc
parentad5100da0f7041cf7a0dbf3cf2860c0f82fc4c7a (diff)
downloadmariadb-git-4bb40187438bdfb8b1d8b091399bd01e0e3425c1.tar.gz
misc bug fixes
libmysqld/Makefile.am: sql_unions -> sql_union BitKeeper/etc/ignore: Added libmysqld/sql_union.cc to the ignore list mysql-test/mysql-test-run.sh: fix to get path-independent logging mysql-test/r/rpl_log.result: fix for path-independent logging sql/log.cc: fixed compile error with USING_TRANSACTIONS sql/log_event.h: fixed compile error with USING_TRANSACTIONS
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