Debian Codegraph @

mysql-test/suite/vcol/r/races.result

raw
1 create table t1 (f text, vf tinytext as (f), key (vf(64))) engine=innodb;
2 insert t1 (f) values ('foo');
3 flush tables;
4 connect con1,localhost,root,,test;
5 set debug_sync='TABLE_after_field_clone WAIT_FOR go';
6 delete from t1;
7 connection default;
8 select * from t1;
9 f vf
10 foo foo
11 set debug_sync='now SIGNAL go';
12 connection con1;
13 disconnect con1;
14 connection default;
15 drop table t1;
16 set debug_sync='reset';
17 #
18 # MDEV-39261 MariaDB crash on startup in presence of
19 # indexed virtual columns
20 #
21 # Create 33 tables with virtual index
22 InnoDB 0 transactions not purged
23 connect purge_control,localhost,root;
24 START TRANSACTION WITH CONSISTENT SNAPSHOT;
25 connection default;
26 # Do update on all 33 tables
27 # restart: --innodb_purge_threads=1 --debug_dbug=d,ib_purge_virtual_index_callback
28 InnoDB 0 transactions not purged
29 # Drop all 33 tables
30 # restart