summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorAlfranio Correia <alfranio.correia@sun.com>2010-04-01 00:16:22 +0100
committerAlfranio Correia <alfranio.correia@sun.com>2010-04-01 00:16:22 +0100
commite0328736bfc3bcb69699551d80afa931016b6c6b (patch)
treee16830206143b2f2563118bd3a61137701b31b86 /sql/log.cc
parentae8e6ca5065e119c3277bd05546057ac552ee82b (diff)
downloadmariadb-git-e0328736bfc3bcb69699551d80afa931016b6c6b.tar.gz
BUG#51291 Unfortunate effect around variable binlog_direct_non_transactional_updates
Post-merge fix.
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 a83eca12481..248dc4b5265 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -4245,7 +4245,7 @@ bool use_trans_cache(const THD* thd, bool is_transactional)
return
((thd->variables.binlog_format != BINLOG_FORMAT_STMT ||
thd->variables.binlog_direct_non_trans_update) ? is_transactional :
- (is_transactional || cache_mngr->trx_cache.empty()));
+ (is_transactional || !cache_mngr->trx_cache.empty()));
}
/*