Debian Codegraph @

mysql-test/suite/atomic/README.txt

raw
1 To debug a the ddl_recovery code in a failing ddl_recovery test one could do
2 the following:
3
4 - Add # before --exec echo "restart" ...
5 - Force $e (engine), $c (crash point) and $r (crash position) to the values
6 where things goes wrong. See comments in alter_table.inc for how to do this.
7 - start mariadbd in a debugger
8
9 run the following in the debugger
10 (Replace 'atomic.create_trigger' with the failing test case)
11
12 #break ha_recover
13 #break MYSQL_BIN_LOG::recover
14 #break MYSQL_BIN_LOG::open
15
16 break ddl_log_close_binlogged_events
17 break ddl_log_execute_action
18 break ddl_log_execute_recovery
19 run --datadir=/my/maria-10.6/mysql-test/var/log/atomic.create_trigger/mysqld.1/data --log-basename=master --log-bin-index=mysqld-bin.index --debug --log-bin