Loading BitKeeper/etc/logging_ok +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ dlenev@build.mysql.com dlenev@jabberwock.localdomain dlenev@mysql.com ejonore@mc03.ndb.mysql.com gbichot@quadita2.mysql.com gbichot@quadxeon.mysql.com georg@beethoven.local georg@lmy002.wdf.sap.corp Loading libmysql/Makefile.shared +2 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,8 @@ clean-local: `echo $(sql_cmn_objects) | sed "s;\.lo;.c;g"` \ $(CHARSET_SRCS) $(CHARSET_OBJS) \ $(mystringsextra) $(mysysheaders) $(vioheaders)\ ../linked_client_sources net.c ../linked_libmysql_sources ../linked_libmysql_r_sources \ net.c conf_to_src_SOURCES = conf_to_src.c conf_to_src_LDADD= Loading mysql-test/README +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ http://dev.mysql.com/doc/mysql/en/MySQL_test_suite.html You can create your own test cases. To create a test case: xeamacs t/test_case_name.test xemacs t/test_case_name.test in the file, put a set of SQL commands that will create some tables, load test data, run some queries to manipulate it. Loading mysql-test/r/rpl_deadlock.result +6 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ create table t1 (a int not null, key(a)) engine=innodb; create table t2 (a int not null, key(a)) engine=innodb; create table t3 (a int) engine=innodb; create table t4 (a int) engine=innodb; show variables like 'slave_transaction_retries'; Variable_name Value slave_transaction_retries 0 show create table t1; Table Create Table t1 CREATE TABLE `t1` ( Loading @@ -20,6 +23,9 @@ t2 CREATE TABLE `t2` ( `a` int(11) NOT NULL default '0', KEY `a` (`a`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 show variables like 'slave_transaction_retries'; Variable_name Value slave_transaction_retries 2 stop slave; begin; insert into t3 select * from t2 for update; Loading mysql-test/t/rpl_deadlock.test +4 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,8 @@ # (Guilhem) have seen the test manage to provoke lock wait timeout # error but not deadlock error; that is ok as code deals with the two # errors in exactly the same way. # We don't 'show status like 'slave_retried_transactions'' because this # is not repeatable (depends on sleeps). source include/have_innodb.inc; source include/master-slave.inc; Loading @@ -16,10 +18,12 @@ create table t1 (a int not null, key(a)) engine=innodb; create table t2 (a int not null, key(a)) engine=innodb; create table t3 (a int) engine=innodb; create table t4 (a int) engine=innodb; show variables like 'slave_transaction_retries'; sync_slave_with_master; show create table t1; show create table t2; show variables like 'slave_transaction_retries'; stop slave; # 1) Test deadlock Loading Loading
BitKeeper/etc/logging_ok +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ dlenev@build.mysql.com dlenev@jabberwock.localdomain dlenev@mysql.com ejonore@mc03.ndb.mysql.com gbichot@quadita2.mysql.com gbichot@quadxeon.mysql.com georg@beethoven.local georg@lmy002.wdf.sap.corp Loading
libmysql/Makefile.shared +2 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,8 @@ clean-local: `echo $(sql_cmn_objects) | sed "s;\.lo;.c;g"` \ $(CHARSET_SRCS) $(CHARSET_OBJS) \ $(mystringsextra) $(mysysheaders) $(vioheaders)\ ../linked_client_sources net.c ../linked_libmysql_sources ../linked_libmysql_r_sources \ net.c conf_to_src_SOURCES = conf_to_src.c conf_to_src_LDADD= Loading
mysql-test/README +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ http://dev.mysql.com/doc/mysql/en/MySQL_test_suite.html You can create your own test cases. To create a test case: xeamacs t/test_case_name.test xemacs t/test_case_name.test in the file, put a set of SQL commands that will create some tables, load test data, run some queries to manipulate it. Loading
mysql-test/r/rpl_deadlock.result +6 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ create table t1 (a int not null, key(a)) engine=innodb; create table t2 (a int not null, key(a)) engine=innodb; create table t3 (a int) engine=innodb; create table t4 (a int) engine=innodb; show variables like 'slave_transaction_retries'; Variable_name Value slave_transaction_retries 0 show create table t1; Table Create Table t1 CREATE TABLE `t1` ( Loading @@ -20,6 +23,9 @@ t2 CREATE TABLE `t2` ( `a` int(11) NOT NULL default '0', KEY `a` (`a`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 show variables like 'slave_transaction_retries'; Variable_name Value slave_transaction_retries 2 stop slave; begin; insert into t3 select * from t2 for update; Loading
mysql-test/t/rpl_deadlock.test +4 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,8 @@ # (Guilhem) have seen the test manage to provoke lock wait timeout # error but not deadlock error; that is ok as code deals with the two # errors in exactly the same way. # We don't 'show status like 'slave_retried_transactions'' because this # is not repeatable (depends on sleeps). source include/have_innodb.inc; source include/master-slave.inc; Loading @@ -16,10 +18,12 @@ create table t1 (a int not null, key(a)) engine=innodb; create table t2 (a int not null, key(a)) engine=innodb; create table t3 (a int) engine=innodb; create table t4 (a int) engine=innodb; show variables like 'slave_transaction_retries'; sync_slave_with_master; show create table t1; show create table t2; show variables like 'slave_transaction_retries'; stop slave; # 1) Test deadlock Loading