mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 17:54:16 +01:00
2bd41fc5bf
Specifically: Revert "MDEV-29664 Assertion `!n_mysql_tables_in_use' failed in innobase_close_connection" This reverts commitba875e9396
. Revert "MDEV-29620 Assertion `next_insert_id == 0' failed in handler::ha_external_lock" This reverts commitaa08a7442a
. Revert "MDEV-29628 Memory leak after CREATE OR REPLACE with foreign key" This reverts commitc579d66ba6
. Revert "MDEV-29609 create_not_windows test fails with different result" This reverts commitcb583b2f1b
. Revert "MDEV-29544 SIGSEGV in HA_CREATE_INFO::finalize_locked_tables" This reverts commitdcd66c3814
. Revert "MDEV-28933 CREATE OR REPLACE fails to recreate same constraint name" This reverts commitcf6c517632
. Revert "MDEV-28933 Moved RENAME_CONSTRAINT_IDS to include/sql_funcs.h" This reverts commitf1e1c1335b
. Revert "MDEV-28956 Locking is broken if CREATE OR REPLACE fails under LOCK TABLES" This reverts commita228ec80e3
. Revert "MDEV-25292 gcol.gcol_bugfixes --ps fix" This reverts commit24fff8267d
. Revert "MDEV-25292 Disable atomic replace for slave-generated or-replace" This reverts commit2af15914cb
. Revert "MDEV-25292 backup_log improved" This reverts commit34398a20b5
. Revert "MDEV-25292 Atomic CREATE OR REPLACE TABLE" This reverts commit93c8252f02
. Revert "MDEV-25292 Table_name class for (db, table_name, alias)" This reverts commitd145dda9c7
. Revert "MDEV-25292 ha_table_exists() cleanup and improvement" This reverts commit409b8a86de
. Revert "MDEV-25292 Cleanups" This reverts commit595dad83ad
. Revert "MDEV-25292 Refactoring: moved select_field_count into Alter_info." This reverts commitf02af1d229
.
537 lines
16 KiB
Text
537 lines
16 KiB
Text
create table const_table (a int, b int) engine=myisam;
|
|
insert into const_table values (1,1),(2,2);
|
|
flush tables;
|
|
engine: myisam
|
|
query: CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_before_create_frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_before_create_table
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_create_table
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_drop
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_before_binlog
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_after_binlog
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
query: CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_before_create_frm
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_before_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_drop
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_before_binlog
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_after_binlog
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
query: CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_before_create_frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_before_create_table
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_create_table
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_drop
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_before_binlog
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_after_binlog
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
query: CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_before_create_frm
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_before_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_drop
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_before_binlog
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_after_binlog
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
query: CREATE TABLE t1 SELECT * from t2
|
|
crash point: ddl_log_create_before_create_frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE `t1` (
|
|
`seq` bigint(20) unsigned NOT NULL
|
|
)
|
|
master-bin.000001 # Annotate_rows # # CREATE TABLE t1 SELECT * from t2
|
|
crash point: ddl_log_create_before_create_table
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_create_table
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_drop
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE `t1` (
|
|
`seq` bigint(20) unsigned NOT NULL
|
|
)
|
|
master-bin.000001 # Annotate_rows # # CREATE TABLE t1 SELECT * from t2
|
|
crash point: ddl_log_create_before_binlog
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
crash point: ddl_log_create_after_binlog
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE `t1` (
|
|
`seq` bigint(20) unsigned NOT NULL
|
|
)
|
|
master-bin.000001 # Annotate_rows # # CREATE TABLE t1 SELECT * from t2
|
|
crash point: ddl_log_create_log_complete
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE `t1` (
|
|
`seq` bigint(20) unsigned NOT NULL
|
|
)
|
|
master-bin.000001 # Annotate_rows # # CREATE TABLE t1 SELECT * from t2
|
|
query: CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
crash point: ddl_log_create_before_create_frm
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t2` (
|
|
`a` int(11) DEFAULT NULL,
|
|
`b` int(11) DEFAULT NULL
|
|
)
|
|
master-bin.000001 # Annotate_rows # # CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
crash point: ddl_log_create_before_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_drop
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_before_binlog
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_binlog
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t2` (
|
|
`a` int(11) DEFAULT NULL,
|
|
`b` int(11) DEFAULT NULL
|
|
)
|
|
master-bin.000001 # Annotate_rows # # CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
crash point: ddl_log_create_log_complete
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE `t2` (
|
|
`a` int(11) DEFAULT NULL,
|
|
`b` int(11) DEFAULT NULL
|
|
)
|
|
master-bin.000001 # Annotate_rows # # CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
engine: innodb
|
|
query: CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_before_create_frm
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_before_create_table
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_create_table
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_drop
|
|
"No crash!"
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_before_binlog
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_after_binlog
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int)
|
|
query: CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_before_create_frm
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_before_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_drop
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_before_binlog
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_after_binlog
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 (a int)
|
|
query: CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_before_create_frm
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_before_create_table
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_create_table
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_drop
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_before_binlog
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_after_binlog
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t1.MYD
|
|
t1.MYI
|
|
t1.frm
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 LIKE const_table
|
|
query: CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_before_create_frm
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_before_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_drop
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_before_binlog
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_after_binlog
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
crash point: ddl_log_create_log_complete
|
|
"No crash!"
|
|
t2.MYD
|
|
t2.MYI
|
|
t2.frm
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 LIKE const_table
|
|
query: CREATE TABLE t1 SELECT * from t2
|
|
crash point: ddl_log_create_before_create_frm
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 SELECT * from t2
|
|
crash point: ddl_log_create_before_create_table
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_create_table
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_drop
|
|
"No crash!"
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 SELECT * from t2
|
|
crash point: ddl_log_create_before_binlog
|
|
t2.frm
|
|
t2.ibd
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 SELECT * from t2
|
|
master-bin.000002 # Query # # DROP TABLE IF EXISTS `test`.`t1` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_binlog
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 SELECT * from t2
|
|
master-bin.000002 # Query # # DROP TABLE IF EXISTS `test`.`t1` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_log_complete
|
|
t1.frm
|
|
t1.ibd
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 SELECT * from t2
|
|
query: CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
crash point: ddl_log_create_before_create_frm
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: storage_engine_middle_of_create
|
|
"No crash!"
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
crash point: ddl_log_create_before_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_create_table
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_drop
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_before_binlog
|
|
master-bin.000002 # Query # # use `test`; DROP TABLE IF EXISTS `t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_prepare_eof
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
master-bin.000002 # Query # # DROP TABLE IF EXISTS `test`.`t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_after_binlog
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
master-bin.000002 # Query # # DROP TABLE IF EXISTS `test`.`t2` /* generated by ddl recovery */
|
|
crash point: ddl_log_create_log_complete
|
|
t2.frm
|
|
t2.ibd
|
|
master-bin.000001 # Query # # use `test`; CREATE OR REPLACE TABLE t2 SELECT * from const_table
|
|
Warnings:
|
|
Note 1051 Unknown table 'test.t1,test.t2'
|