mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
IB: long names in information_schema
This commit is contained in:
@@ -13,17 +13,17 @@ insert into t1 values ();
|
||||
set @ts0= now(6);
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx0;
|
||||
select trx_id = @tx0 from information_schema.innodb_vtq limit 1;
|
||||
select transaction_id = @tx0 from information_schema.innodb_vtq limit 1;
|
||||
|
||||
set @ts1= now(6);
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx1;
|
||||
select trx_id = @tx1 from information_schema.innodb_vtq limit 1;
|
||||
select transaction_id = @tx1 from information_schema.innodb_vtq limit 1;
|
||||
|
||||
set @ts2= now(6);
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx2;
|
||||
select trx_id = @tx2 from information_schema.innodb_vtq limit 1;
|
||||
select transaction_id = @tx2 from information_schema.innodb_vtq limit 1;
|
||||
|
||||
set @ts3= now(6);
|
||||
|
||||
@@ -62,22 +62,22 @@ select
|
||||
set transaction isolation level read uncommitted;
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx3;
|
||||
select iso_level = 'RU' from information_schema.innodb_vtq where trx_id = @tx3;
|
||||
select isolation_level = 'READ-UNCOMMITTED' from information_schema.innodb_vtq where transaction_id = @tx3;
|
||||
|
||||
set transaction isolation level read committed;
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx4;
|
||||
select iso_level = 'RC' from information_schema.innodb_vtq where trx_id = @tx4;
|
||||
select isolation_level = 'READ-COMMITTED' from information_schema.innodb_vtq where transaction_id = @tx4;
|
||||
|
||||
set transaction isolation level serializable;
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx5;
|
||||
select iso_level = 'S' from information_schema.innodb_vtq where trx_id = @tx5;
|
||||
select isolation_level = 'SERIALIZABLE' from information_schema.innodb_vtq where transaction_id = @tx5;
|
||||
|
||||
set transaction isolation level repeatable read;
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx6;
|
||||
select iso_level = 'RR' from information_schema.innodb_vtq where trx_id = @tx6;
|
||||
select isolation_level = 'REPEATABLE-READ' from information_schema.innodb_vtq where transaction_id = @tx6;
|
||||
|
||||
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user