mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
merge with 4.0
This commit is contained in:
@ -13,3 +13,28 @@ Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File
|
||||
show tables like 't1';
|
||||
Tables_in_test (t1)
|
||||
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;
|
||||
Server shutdown in progress
|
||||
show binlog events from 79;
|
||||
Log_name Pos Event_type Server_id Orig_log_pos Info
|
||||
master-bin.001 79 Query 1 79 use `test`; create table t1 (a int primary key)
|
||||
master-bin.001 149 Query 1 149 use `test`; insert into t1 values (1),(1)
|
||||
master-bin.001 213 Query 1 213 use `test`; drop table t1
|
||||
master-bin.001 261 Query 1 261 use `test`; create table t2 (a int primary key)
|
||||
master-bin.001 331 Query 1 331 use `test`; insert into t2 values(1)
|
||||
master-bin.001 390 Query 1 390 use `test`; create table t3 (id int)
|
||||
master-bin.001 449 Query 1 449 use `test`; insert into t3 values(connection_id())
|
||||
master-bin.001 522 Query 1 522 use `test`; update t2 set a = a + 1 + get_lock('crash_lock%20C', 10)
|
||||
master-bin.001 613 Query 1 613 use `test`; drop table t2,t3
|
||||
|
Reference in New Issue
Block a user