diff options
Diffstat (limited to 'mysql-test/suite/atomic/README.txt')
-rw-r--r-- | mysql-test/suite/atomic/README.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/suite/atomic/README.txt b/mysql-test/suite/atomic/README.txt new file mode 100644 index 00000000..b1453d8a --- /dev/null +++ b/mysql-test/suite/atomic/README.txt @@ -0,0 +1,19 @@ +To debug a the ddl_recovery code in a failing ddl_recovery test one could do +the following: + +- Add # before --exec echo "restart" ... +- Force $e (engine), $c (crash point) and $r (crash position) to the values + where things goes wrong. See comments in alter_table.test for how to do this. +- start mariadbd in a debugger + +run the following in the debugger +(Replace 'atomic.create_trigger' with the failing test case) + +#break ha_recover +#break MYSQL_BIN_LOG::recover +#break MYSQL_BIN_LOG::open + +break ddl_log_close_binlogged_events +break ddl_log_execute_action +break ddl_log_execute_recovery +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 |