mariadb/mysql-test/suite/innodb/r/index_vcol_purge_startup.result
Sergei Golubchik 08bc7ee068 MDEV-25792 server hangs on early shutdown if InnoDB needs to purge indexed virtual columns
if the server isn't started and innodb initiated a shutdown process -
don't wait for the server to start, it won't
2021-05-27 16:46:21 +02:00

24 lines
532 B
Text

call mtr.add_suppression('SQL_ERROR_LOG');
call mtr.add_suppression('Failed to initialize plugins');
call mtr.add_suppression('Aborting');
create table t1(a int primary key, b int as (100-a*a), index(b)) engine=innodb;
insert t1 (a) values(1),(2),(3);
start transaction;
select * from t1 order by a;
a b
1 99
2 96
3 91
connect con1, localhost, root;
delete from t1 where a=2;
flush tables;
connection default;
# Kill the server
# Failed restart
# Start the server
# restart
select * from t1 order by a;
a b
1 99
3 91
drop table t1;