diff options
author | Alfranio Correia <alfranio.correia@sun.com> | 2010-04-01 00:16:22 +0100 |
---|---|---|
committer | Alfranio Correia <alfranio.correia@sun.com> | 2010-04-01 00:16:22 +0100 |
commit | e0328736bfc3bcb69699551d80afa931016b6c6b (patch) | |
tree | e16830206143b2f2563118bd3a61137701b31b86 /sql/log.cc | |
parent | ae8e6ca5065e119c3277bd05546057ac552ee82b (diff) | |
download | mariadb-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.cc | 2 |
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())); } /* |