Debian Codegraph @

mysql-test/suite/innodb/t/index_vcol_purge_startup.test

raw
1 source include/have_innodb.inc;
2 # need to restart server
3 source include/not_embedded.inc;
4
5 call mtr.add_suppression('SQL_ERROR_LOG');
6 call mtr.add_suppression('Failed to initialize plugins');
7 call mtr.add_suppression('Aborting');
8
9 if (!$SQL_ERRLOG_SO) {
10 skip No SQL_ERROR_LOG plugin;
11 }
12
13 create table t1(a int primary key, b int as (100-a*a), index(b)) engine=innodb;
14 insert t1 (a) values(1),(2),(3);
15 start transaction;
16 select * from t1 order by a;
17 connect(con1, localhost, root);
18 delete from t1 where a=2;
19 flush tables;
20 connection default;
21 source include/kill_mysqld.inc;
22 echo # Failed restart;
23 error 1;
24 exec $MYSQLD_LAST_CMD --plugin-load-add=$SQL_ERRLOG_SO --sql-error-log=FORCE --sql-error-log-filename=$MYSQLTEST_VARDIR/nonexistent/nonexistent;
25 echo # Start the server;
26 source include/start_mysqld.inc;
27 select * from t1 order by a;
28 drop table t1;