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

fixing wrong written assignment
This commit is contained in:
aelkin/elkin@dsl-hkibras1-ff1dc300-249.dhcp.inet.fi 2007-03-24 15:30:32 +02:00
parent 61f871e998
commit 364cf9a0d9

View File

@ -3636,7 +3636,7 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
{
m_transaction_on= FALSE;
/* 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)
m_transaction_on= FALSE;