Commit 95958982 authored by unknown's avatar unknown
Browse files

ndb, transaction should be refgistred even if m_transaction_on is not set

parent 79cc9664
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3288,7 +3288,6 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
          ERR_RETURN(ndb->getNdbError());
        no_uncommitted_rows_reset(thd);
        thd_ndb->stmt= trans;
        if (m_transaction_on)
        trans_register_ha(thd, FALSE, &ndbcluster_hton);
      } 
      else 
@@ -3304,7 +3303,6 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
            ERR_RETURN(ndb->getNdbError());
          no_uncommitted_rows_reset(thd);
          thd_ndb->all= trans; 
          if (m_transaction_on)
          trans_register_ha(thd, TRUE, &ndbcluster_hton);

          /*