Loading mysql-test/t/rename.test +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ # Test of rename table # drop table if exists t1,t2,t3,t4; drop table if exists t0,t1,t2,t3,t4; create table t0 SELECT 1,"table 1"; create table t2 SELECT 2,"table 2"; create table t3 SELECT 3,"table 3"; Loading mysql-test/t/rpl000014.test +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ change master to master_log_pos=173; show slave status; connection master; show master status; create table if not exists foo(n int); drop table if exists foo; create table foo (n int); insert into foo values (1),(2),(3); Loading mysql-test/t/show_check.test +1 −0 Original line number Diff line number Diff line # # Test of some show commands # drop table if exists t1,t2; create table t1 (a int not null primary key, b int not null,c int not null, key(b,c)); insert into t1 values (1,2,2),(2,2,3),(3,2,4),(4,2,4); create table t2 type=isam select * from t1; Loading sql/handler.cc +1 −1 Original line number Diff line number Diff line Loading @@ -241,7 +241,7 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans) #endif if (error && trans == &thd->transaction.all && mysql_bin_log.is_open()) sql_print_error("Error: Got error during commit; Binlog is not up to date!"); #endif #endif // using transactions DBUG_RETURN(error); } Loading sql/sql_class.h +5 −0 Original line number Diff line number Diff line Loading @@ -299,9 +299,14 @@ class THD :public ilink { } inline bool active_transaction() { #ifdef USING_TRANSACTIONS return (transaction.all.bdb_tid != 0 || transaction.all.innobase_tid != 0 || transaction.all.gemini_tid != 0); #else return 0; #endif } inline gptr alloc(unsigned int size) { return alloc_root(&mem_root,size); } inline gptr calloc(unsigned int size) Loading Loading
mysql-test/t/rename.test +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ # Test of rename table # drop table if exists t1,t2,t3,t4; drop table if exists t0,t1,t2,t3,t4; create table t0 SELECT 1,"table 1"; create table t2 SELECT 2,"table 2"; create table t3 SELECT 3,"table 3"; Loading
mysql-test/t/rpl000014.test +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ change master to master_log_pos=173; show slave status; connection master; show master status; create table if not exists foo(n int); drop table if exists foo; create table foo (n int); insert into foo values (1),(2),(3); Loading
mysql-test/t/show_check.test +1 −0 Original line number Diff line number Diff line # # Test of some show commands # drop table if exists t1,t2; create table t1 (a int not null primary key, b int not null,c int not null, key(b,c)); insert into t1 values (1,2,2),(2,2,3),(3,2,4),(4,2,4); create table t2 type=isam select * from t1; Loading
sql/handler.cc +1 −1 Original line number Diff line number Diff line Loading @@ -241,7 +241,7 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans) #endif if (error && trans == &thd->transaction.all && mysql_bin_log.is_open()) sql_print_error("Error: Got error during commit; Binlog is not up to date!"); #endif #endif // using transactions DBUG_RETURN(error); } Loading
sql/sql_class.h +5 −0 Original line number Diff line number Diff line Loading @@ -299,9 +299,14 @@ class THD :public ilink { } inline bool active_transaction() { #ifdef USING_TRANSACTIONS return (transaction.all.bdb_tid != 0 || transaction.all.innobase_tid != 0 || transaction.all.gemini_tid != 0); #else return 0; #endif } inline gptr alloc(unsigned int size) { return alloc_root(&mem_root,size); } inline gptr calloc(unsigned int size) Loading