diff options
Diffstat (limited to 'sql/transaction.cc')
-rw-r--r-- | sql/transaction.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/transaction.cc b/sql/transaction.cc index 1623cd57d77..3117cd7d166 100644 --- a/sql/transaction.cc +++ b/sql/transaction.cc @@ -139,6 +139,11 @@ bool trans_begin(THD *thd, uint flags) } thd->variables.option_bits&= ~(OPTION_BEGIN | OPTION_KEEP_LOG); + + /* + The following set should not be needed as the flag should always be 0 + when we come here. We should at some point change this to an assert. + */ thd->transaction.all.modified_non_trans_table= FALSE; if (res) |