From c16251ad7c87cdab668ef48f8b57e271180b9da8 Mon Sep 17 00:00:00 2001 From: "mskold/marty@mysql.com/linux.site" <> Date: Thu, 1 Feb 2007 09:48:45 +0100 Subject: [PATCH] Bug #25522 Update with IN syntax Clustertable + Trigger leads to mysqld segfault: moved back assignment --- sql/ha_ndbcluster.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 029cebb34b3..080abf2ce54 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -3878,10 +3878,9 @@ int ha_ndbcluster::start_stmt(THD *thd, thr_lock_type lock_type) no_uncommitted_rows_reset(thd); thd_ndb->stmt= trans; thd_ndb->query_state&= NDB_QUERY_NORMAL; - m_active_trans= trans; trans_register_ha(thd, FALSE, &ndbcluster_hton); } - + m_active_trans= trans; // Start of statement m_retrieve_all_fields= FALSE; m_retrieve_primary_key= FALSE;