mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
e8fae25e6b
into neptunus.(none):/home/msvensson/mysql/same_tools/my51-same_tools BitKeeper/deleted/.del-mtr_stress.pl: Auto merged BitKeeper/deleted/.del-ps_6bdb.result: Auto merged BitKeeper/deleted/.del-rpl000018.result: Auto merged BitKeeper/deleted/.del-rpl000018.test: Auto merged BitKeeper/deleted/.del-rpl_chain_temp_table.result: Auto merged BitKeeper/deleted/.del-rpl_chain_temp_table.test: Auto merged BitKeeper/deleted/.del-rpl_failsafe.result: Auto merged BitKeeper/deleted/.del-rpl_failsafe.test: Auto merged BitKeeper/deleted/.del-rpl_heap.result: Auto merged BitKeeper/deleted/.del-rpl_heap.test: Auto merged mysql-test/include/have_ndb.inc: Auto merged mysql-test/include/master-slave.inc: Auto merged mysql-test/lib/mtr_misc.pl: Auto merged mysql-test/lib/mtr_report.pl: Auto merged mysql-test/r/binlog_stm_mix_innodb_myisam.result: Auto merged mysql-test/r/connect.result: Auto merged mysql-test/r/csv.result: Auto merged mysql-test/r/drop.result: Auto merged mysql-test/r/flush_block_commit.result: Auto merged mysql-test/r/func_misc.result: Auto merged mysql-test/r/grant2.result: Auto merged mysql-test/r/handler_myisam.result: Auto merged mysql-test/r/multi_update.result: Auto merged mysql-test/r/ps_2myisam.result: Auto merged mysql-test/r/ps_3innodb.result: Auto merged mysql-test/r/ps_4heap.result: Auto merged mysql-test/r/ps_5merge.result: Auto merged mysql-test/r/ps_7ndb.result: Auto merged mysql-test/r/query_cache.result: Auto merged mysql-test/r/query_cache_notembedded.result: Auto merged mysql-test/r/rpl_err_ignoredtable.result: Auto merged mysql-test/r/rpl_master_pos_wait.result: Auto merged mysql-test/r/rpl_stm_000001.result: Auto merged mysql-test/r/sp-threads.result: Auto merged mysql-test/r/sp_notembedded.result: Auto merged mysql-test/r/subselect.result: Auto merged mysql-test/r/synchronization.result: Auto merged mysql-test/r/type_blob.result: Auto merged mysql-test/t/connect.test: Auto merged mysql-test/t/csv.test: Auto merged mysql-test/t/mysql_client_test.test: Auto merged mysql-test/t/ps.test: Auto merged mysql-test/t/ps_1general.test: Auto merged mysql-test/t/ps_grant.test: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/rpl_trunc_temp.test: Auto merged mysql-test/t/sp-error.test: Auto merged mysql-test/t/sp_notembedded.test: Auto merged mysql-test/t/subselect.test: Auto merged mysql-test/t/view_grant.test: Auto merged mysql-test/extra/rpl_tests/rpl_flsh_tbls.test: SCCS merged
42 lines
893 B
Text
42 lines
893 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
create table t1 (a int primary key);
|
|
create table t4 (a int primary key);
|
|
insert into t1 values (1),(1);
|
|
Got one of the listed errors
|
|
insert into t4 values (1),(2);
|
|
show tables like 't1';
|
|
Tables_in_test (t1)
|
|
show tables like 't4';
|
|
Tables_in_test (t4)
|
|
t4
|
|
SELECT * FROM test.t4 ORDER BY a;
|
|
a
|
|
1
|
|
2
|
|
drop table t1;
|
|
select get_lock('crash_lock%20C', 10);
|
|
get_lock('crash_lock%20C', 10)
|
|
1
|
|
create table t2 (a int primary key);
|
|
insert into t2 values(1);
|
|
create table t3 (id int);
|
|
insert into t3 values(connection_id());
|
|
update t2 set a = a + 1 + get_lock('crash_lock%20C', 10);
|
|
select (@id := id) - id from t3;
|
|
(@id := id) - id
|
|
0
|
|
kill @id;
|
|
drop table t2,t3;
|
|
insert into t4 values (3),(4);
|
|
SELECT * FROM test.t4 ORDER BY a;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
4
|
|
DROP TABLE test.t4;
|