summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-06-24 14:42:56 +0200
committerguilhem@mysql.com <>2004-06-24 14:42:56 +0200
commitd8fe091e280e688b88e496250c170786a6abaf08 (patch)
tree58b84430c3c85d55d9cecc6caae1befc17c5084a /sql/handler.cc
parent802688c6b7959519565b4654df397f1427ac6687 (diff)
downloadmariadb-git-d8fe091e280e688b88e496250c170786a6abaf08.tar.gz
Enabling the --innodb-safe-binlog option in code. If you wish to disable it,
you just need to change this line of mysqld.cc: #if MYSQL_VERSION_ID >= 40103 to, say, #if MYSQL_VERSION_ID > 40103 I am noticing a failure of bdb.test; I believe this is not related to the code I added yesterday and today, but I am checking. In any case I push this changeset as it cannot by itself bring more mess that I *may* (or not) already have brought with previous pushes.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index f4cd2901be1..f11c7d5eac3 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -385,7 +385,7 @@ int ha_report_binlog_offset_and_commit(THD *thd,
#ifdef HAVE_INNOBASE_DB
THD_TRANS *trans;
trans = &thd->transaction.all;
- if (trans->innobase_tid && trans->innodb_active_trans)
+ if (trans->innodb_active_trans)
{
/*
If we updated some InnoDB tables (innodb_active_trans is true), the