mariadb/mysql-test/suite/atomic
2025-01-09 12:31:17 +02:00
..
alter_partition,innodb.rdiff
alter_partition.combinations
alter_partition.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
alter_partition.test binlog_combinations.inc -> binlog_format_combinations.inc 2023-08-15 10:16:11 +02:00
alter_table.opt
alter_table.result DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
alter_table.test Disable atomic.alter_table on MSAN because of slowness 2025-01-09 12:31:17 +02:00
alter_table_aria.result DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
alter_table_aria.test
alter_table_big_query.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
alter_table_big_query.test
alter_table_rocksdb.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
alter_table_rocksdb.test DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
alter_table_trigger.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
alter_table_trigger.test
create_table.result DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
create_table.test DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
create_trigger.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
create_trigger.test
create_trigger2.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
create_trigger2.test
create_view.result
create_view.test
disabled.def
drop_db.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
drop_db.test
drop_db_long_names.opt
drop_db_long_names.result
drop_db_long_names.test
drop_sequence.result
drop_sequence.test
drop_table.result DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
drop_table.test DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
drop_trigger.result
drop_trigger.test
drop_view.result
drop_view.test
README.txt
rename_case.result
rename_case.test
rename_combinations.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
rename_combinations.test
rename_table.result
rename_table.test DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
rename_table_binlog.result
rename_table_binlog.test
rename_trigger.result
rename_trigger.test
rename_view.result
rename_view.test
rename_view2.result
rename_view2.test
vector.result DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00
vector.test DDL recovery for high-level indexes 2024-11-05 14:00:52 -08:00

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