1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-6720 - enable connection log in mysqltest by default

This commit is contained in:
Sergey Vojtovich
2016-03-25 20:51:22 +04:00
parent 5052e2479e
commit 282497dd6d
1559 changed files with 38534 additions and 9891 deletions

View File

@@ -1,3 +1,6 @@
connect con1,localhost,root,,;
connect con2,localhost,root,,;
connection con1;
SET tx_isolation = 'READ-COMMITTED';
CREATE TABLE bug49164 (a INT, b BIGINT, c TINYINT, PRIMARY KEY (a, b))
ENGINE=InnoDB;
@@ -17,6 +20,7 @@ a b c
3 3 3
begin;
update bug49164 set c=7;
connection con2;
SET tx_isolation = 'READ-COMMITTED';
begin;
select * from bug49164;
@@ -27,16 +31,22 @@ a b c
commit;
begin;
update bug49164 set c=6 where a=1 and b=1;
connection con1;
rollback;
select * from bug49164;
a b c
1 1 1
2 2 2
3 3 3
connection con2;
commit;
connection con1;
select * from bug49164;
a b c
1 1 6
2 2 2
3 3 3
connection default;
disconnect con1;
disconnect con2;
drop table bug49164;