Debian Codegraph @

mysql-test/suite/innodb/r/slow_shutdown.result

raw
1 # SETUP
2 CREATE TABLE t1 (c1 INT);
3 INSERT INTO t1 VALUES(1);
4 # Start a transaction but don't commit it.
5 BEGIN;
6 INSERT INTO t1 VALUES(2);
7 SET GLOBAL innodb_log_flush_now = ON;
8 # Kill the server
9 # Start MySQL after crash with different LCTN value and slow shutdown.
10 # Verifying that recovery found transaction which needs rollback
11 Pattern "MY-013023" found
12 # Restart server with correct LCTN
13 # restart: --innodb-fast-shutdown=0 --lower_case_table_names=0 --log-error=/export/home/tmp/mayank/mysql-tree/source_2/build/mysql-test/var/log/my_restart.err
14 # Verifying that transaction was rollbacked
15 Pattern "MY-013012" found
16 # CLEANUP
17 # Restart server to restore server state.
18 # restart:
19 DROP TABLE t1;