Commit c9950f26 authored by unknown's avatar unknown

Bug #25522 Update with IN syntax Clustertable + Trigger leads to mysqld...

Bug #25522  Update with IN syntax Clustertable + Trigger leads to mysqld segfault: moved back assignment


parent c7a69d25
...@@ -3878,10 +3878,9 @@ int ha_ndbcluster::start_stmt(THD *thd, thr_lock_type lock_type) ...@@ -3878,10 +3878,9 @@ int ha_ndbcluster::start_stmt(THD *thd, thr_lock_type lock_type)
no_uncommitted_rows_reset(thd); no_uncommitted_rows_reset(thd);
thd_ndb->stmt= trans; thd_ndb->stmt= trans;
thd_ndb->query_state&= NDB_QUERY_NORMAL; thd_ndb->query_state&= NDB_QUERY_NORMAL;
m_active_trans= trans;
trans_register_ha(thd, FALSE, &ndbcluster_hton); trans_register_ha(thd, FALSE, &ndbcluster_hton);
} }
m_active_trans= trans;
// Start of statement // Start of statement
m_retrieve_all_fields= FALSE; m_retrieve_all_fields= FALSE;
m_retrieve_primary_key= FALSE; m_retrieve_primary_key= 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