Loading sql/sql_class.h +4 −2 Original line number Diff line number Diff line Loading @@ -1230,14 +1230,16 @@ class THD :public Statement, free_root(&mem_root,MYF(MY_KEEP_PREALLOC)); #endif } #ifdef USING_TRANSACTIONS st_transactions() { #ifdef USING_TRANSACTIONS bzero((char*)this, sizeof(*this)); xid_state.xid.null(); init_sql_alloc(&mem_root, ALLOC_ROOT_MIN_BLOCK_SIZE, 0); } #else xid_state.xa_state= XA_NOTR; #endif } } transaction; Field *dupp_field; #ifndef __WIN__ Loading Loading
sql/sql_class.h +4 −2 Original line number Diff line number Diff line Loading @@ -1230,14 +1230,16 @@ class THD :public Statement, free_root(&mem_root,MYF(MY_KEEP_PREALLOC)); #endif } #ifdef USING_TRANSACTIONS st_transactions() { #ifdef USING_TRANSACTIONS bzero((char*)this, sizeof(*this)); xid_state.xid.null(); init_sql_alloc(&mem_root, ALLOC_ROOT_MIN_BLOCK_SIZE, 0); } #else xid_state.xa_state= XA_NOTR; #endif } } transaction; Field *dupp_field; #ifndef __WIN__ Loading