Loading mysql-test/mysql-test-run.pl +1 −0 Original line number Diff line number Diff line Loading @@ -1235,6 +1235,7 @@ sub kill_running_server () { $using_ndbcluster_master= $opt_with_ndbcluster; ndbcluster_stop(); $master->[0]->{'ndbcluster'}= 1; $using_ndbcluster_slave= $opt_with_ndbcluster; ndbcluster_stop_slave(); $slave->[0]->{'ndbcluster'}= 1; } Loading mysql-test/r/binlog_row_mix_innodb_myisam.result +14 −14 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ master-bin.000001 282 Write_rows 1 # master-bin.000001 316 Xid 1 # COMMIT /* xid= */ delete from t1; delete from t2; alter table t2 type=MyISAM; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; Loading Loading @@ -266,18 +266,18 @@ master-bin.000001 343 Query 1 # use `test`; delete from t1 master-bin.000001 420 Xid 1 # COMMIT /* xid= */ master-bin.000001 447 Query 1 # use `test`; delete from t2 master-bin.000001 524 Xid 1 # COMMIT /* xid= */ master-bin.000001 551 Query 1 # use `test`; alter table t2 type=MyISAM master-bin.000001 640 Table_map 1 # test.t1 master-bin.000001 679 Write_rows 1 # master-bin.000001 713 Xid 1 # COMMIT /* xid= */ master-bin.000001 740 Table_map 1 # test.t2 master-bin.000001 779 Write_rows 1 # master-bin.000001 813 Query 1 # use `test`; drop table t1,t2 master-bin.000001 892 Query 1 # use `test`; create table t0 (n int) master-bin.000001 978 Table_map 1 # test.t0 master-bin.000001 1017 Write_rows 1 # master-bin.000001 1051 Table_map 1 # test.t0 master-bin.000001 1090 Write_rows 1 # master-bin.000001 1124 Query 1 # use `test`; create table t2 (n int) engine=innodb master-bin.000001 551 Query 1 # use `test`; alter table t2 engine=MyISAM master-bin.000001 642 Table_map 1 # test.t1 master-bin.000001 681 Write_rows 1 # master-bin.000001 715 Xid 1 # COMMIT /* xid= */ master-bin.000001 742 Table_map 1 # test.t2 master-bin.000001 781 Write_rows 1 # master-bin.000001 815 Query 1 # use `test`; drop table t1,t2 master-bin.000001 894 Query 1 # use `test`; create table t0 (n int) master-bin.000001 980 Table_map 1 # test.t0 master-bin.000001 1019 Write_rows 1 # master-bin.000001 1053 Table_map 1 # test.t0 master-bin.000001 1092 Write_rows 1 # master-bin.000001 1126 Query 1 # use `test`; create table t2 (n int) engine=innodb do release_lock("lock1"); drop table t0,t2; mysql-test/t/disabled.def +1 −1 Original line number Diff line number Diff line Loading @@ -32,8 +32,8 @@ rpl_until : Unstable test case, bug#15886 sp-goto : GOTO is currently is disabled - will be fixed in the future subselect : Bug#15706 (ps mode) [PATCH PENDING] rpl_ndb_log : result not deterministic binlog_row_mix_innodb_myisam : Bug #17386 binlog_row_insert_select : Bug #17385 rpl_row_basic_2myisam : Bug #17385 rpl_row_basic_3innodb : Bug #17385 rpl_row_create_table : Bug #17385 ndb_load : Bug#17233 mysys/thr_mutex.c +5 −4 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ int safe_mutex_lock(safe_mutex_t *mp,const char *file, uint line) fflush(stderr); abort(); } mp->thread= pthread_self(); if (mp->count++) { fprintf(stderr,"safe_mutex: Error in thread libray: Got mutex at %s, \ Loading @@ -128,7 +129,6 @@ line %d more than 1 time\n", file,line); fflush(stderr); abort(); } mp->thread=pthread_self(); mp->file= file; mp->line=line; pthread_mutex_unlock(&mp->global); Loading @@ -154,6 +154,7 @@ int safe_mutex_unlock(safe_mutex_t *mp,const char *file, uint line) fflush(stderr); abort(); } mp->thread= 0; mp->count--; #ifdef __WIN__ pthread_mutex_unlock(&mp->mutex); Loading Loading @@ -207,6 +208,7 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file, fflush(stderr); abort(); } mp->thread=pthread_self(); if (mp->count++) { fprintf(stderr, Loading @@ -215,7 +217,6 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file, fflush(stderr); abort(); } mp->thread=pthread_self(); mp->file= file; mp->line=line; pthread_mutex_unlock(&mp->global); Loading Loading @@ -245,6 +246,7 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp, } #endif pthread_mutex_lock(&mp->global); mp->thread=pthread_self(); if (mp->count++) { fprintf(stderr, Loading @@ -253,7 +255,6 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp, fflush(stderr); abort(); } mp->thread=pthread_self(); mp->file= file; mp->line=line; pthread_mutex_unlock(&mp->global); Loading Loading
mysql-test/mysql-test-run.pl +1 −0 Original line number Diff line number Diff line Loading @@ -1235,6 +1235,7 @@ sub kill_running_server () { $using_ndbcluster_master= $opt_with_ndbcluster; ndbcluster_stop(); $master->[0]->{'ndbcluster'}= 1; $using_ndbcluster_slave= $opt_with_ndbcluster; ndbcluster_stop_slave(); $slave->[0]->{'ndbcluster'}= 1; } Loading
mysql-test/r/binlog_row_mix_innodb_myisam.result +14 −14 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ master-bin.000001 282 Write_rows 1 # master-bin.000001 316 Xid 1 # COMMIT /* xid= */ delete from t1; delete from t2; alter table t2 type=MyISAM; alter table t2 engine=MyISAM; insert into t1 values (1); begin; select * from t1 for update; Loading Loading @@ -266,18 +266,18 @@ master-bin.000001 343 Query 1 # use `test`; delete from t1 master-bin.000001 420 Xid 1 # COMMIT /* xid= */ master-bin.000001 447 Query 1 # use `test`; delete from t2 master-bin.000001 524 Xid 1 # COMMIT /* xid= */ master-bin.000001 551 Query 1 # use `test`; alter table t2 type=MyISAM master-bin.000001 640 Table_map 1 # test.t1 master-bin.000001 679 Write_rows 1 # master-bin.000001 713 Xid 1 # COMMIT /* xid= */ master-bin.000001 740 Table_map 1 # test.t2 master-bin.000001 779 Write_rows 1 # master-bin.000001 813 Query 1 # use `test`; drop table t1,t2 master-bin.000001 892 Query 1 # use `test`; create table t0 (n int) master-bin.000001 978 Table_map 1 # test.t0 master-bin.000001 1017 Write_rows 1 # master-bin.000001 1051 Table_map 1 # test.t0 master-bin.000001 1090 Write_rows 1 # master-bin.000001 1124 Query 1 # use `test`; create table t2 (n int) engine=innodb master-bin.000001 551 Query 1 # use `test`; alter table t2 engine=MyISAM master-bin.000001 642 Table_map 1 # test.t1 master-bin.000001 681 Write_rows 1 # master-bin.000001 715 Xid 1 # COMMIT /* xid= */ master-bin.000001 742 Table_map 1 # test.t2 master-bin.000001 781 Write_rows 1 # master-bin.000001 815 Query 1 # use `test`; drop table t1,t2 master-bin.000001 894 Query 1 # use `test`; create table t0 (n int) master-bin.000001 980 Table_map 1 # test.t0 master-bin.000001 1019 Write_rows 1 # master-bin.000001 1053 Table_map 1 # test.t0 master-bin.000001 1092 Write_rows 1 # master-bin.000001 1126 Query 1 # use `test`; create table t2 (n int) engine=innodb do release_lock("lock1"); drop table t0,t2;
mysql-test/t/disabled.def +1 −1 Original line number Diff line number Diff line Loading @@ -32,8 +32,8 @@ rpl_until : Unstable test case, bug#15886 sp-goto : GOTO is currently is disabled - will be fixed in the future subselect : Bug#15706 (ps mode) [PATCH PENDING] rpl_ndb_log : result not deterministic binlog_row_mix_innodb_myisam : Bug #17386 binlog_row_insert_select : Bug #17385 rpl_row_basic_2myisam : Bug #17385 rpl_row_basic_3innodb : Bug #17385 rpl_row_create_table : Bug #17385 ndb_load : Bug#17233
mysys/thr_mutex.c +5 −4 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ int safe_mutex_lock(safe_mutex_t *mp,const char *file, uint line) fflush(stderr); abort(); } mp->thread= pthread_self(); if (mp->count++) { fprintf(stderr,"safe_mutex: Error in thread libray: Got mutex at %s, \ Loading @@ -128,7 +129,6 @@ line %d more than 1 time\n", file,line); fflush(stderr); abort(); } mp->thread=pthread_self(); mp->file= file; mp->line=line; pthread_mutex_unlock(&mp->global); Loading @@ -154,6 +154,7 @@ int safe_mutex_unlock(safe_mutex_t *mp,const char *file, uint line) fflush(stderr); abort(); } mp->thread= 0; mp->count--; #ifdef __WIN__ pthread_mutex_unlock(&mp->mutex); Loading Loading @@ -207,6 +208,7 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file, fflush(stderr); abort(); } mp->thread=pthread_self(); if (mp->count++) { fprintf(stderr, Loading @@ -215,7 +217,6 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file, fflush(stderr); abort(); } mp->thread=pthread_self(); mp->file= file; mp->line=line; pthread_mutex_unlock(&mp->global); Loading Loading @@ -245,6 +246,7 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp, } #endif pthread_mutex_lock(&mp->global); mp->thread=pthread_self(); if (mp->count++) { fprintf(stderr, Loading @@ -253,7 +255,6 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp, fflush(stderr); abort(); } mp->thread=pthread_self(); mp->file= file; mp->line=line; pthread_mutex_unlock(&mp->global); Loading