Commit 79bfd0b9 authored by unknown's avatar unknown

Bug #27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF()

fixing wrong written assignment


sql/ha_ndbcluster.cc:
  fixing assignment
parent d1894553
...@@ -3636,7 +3636,7 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type) ...@@ -3636,7 +3636,7 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
{ {
m_transaction_on= FALSE; m_transaction_on= FALSE;
/* Would be simpler if has_transactions() didn't always say "yes" */ /* Would be simpler if has_transactions() didn't always say "yes" */
thd->no_trans_update= {TRUE, TRUE}; thd->no_trans_update.all= thd->no_trans_update.stmt= TRUE;
} }
else if (!thd->transaction.on) else if (!thd->transaction.on)
m_transaction_on= FALSE; m_transaction_on= FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment