mirror of
https://github.com/MariaDB/server.git
synced 2025-12-12 08:01:43 +03:00
345 lines
4.8 KiB
Plaintext
345 lines
4.8 KiB
Plaintext
# Testcase for the following bugs
|
|
# Bug#16691130 - ASSERT WHEN INNODB_LOG_GROUP_HOME_DIR DOES NOT EXIST
|
|
# Bug#16418661 - CHANGING NAME IN FOR INNODB_DATA_FILE_PATH SHOULD NOT SUCCEED WITH LOG FILES
|
|
# Write tmp/log_file/my.cnf
|
|
# Start mysqld without the possibility to create innodb_undo_tablespaces
|
|
# Remove undo001,undo002,ibdata1,ibdata2,ib_logfile1,ib_logfile2,ib_logfile101
|
|
my.cnf
|
|
my_restart.err
|
|
# Start mysqld with non existent innodb_log_group_home_dir
|
|
# Remove ibdata1 & ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
# Start mysqld to create tablespaces according to my.cnf
|
|
# Backup tmp/logfile/*
|
|
# 1. With ibdata2, Without ibdata1
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
# 2. With ibdata1, without ibdata2
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
# 3. Without ibdata1 & ibdata2
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
# 4. Without ibdata*, ib_logfile* and with undo00*
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
# 5. Without ibdata*,ib_logfile* files & Without undo002
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo003
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo003
|
|
# 6. Without ibdata*,ib_logfile* files & Without undo001, undo002
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
my.cnf
|
|
my_restart.err
|
|
undo003
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
my.cnf
|
|
my_restart.err
|
|
undo003
|
|
# 7. With ibdata files & Without undo002
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo003
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo003
|
|
# 8. With ibdata files & Without undo001, undo002
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo003
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo003
|
|
# 9. Without ibdata*, without undo*, Without ib_logfile1 and with ib_logfile2
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile2
|
|
my.cnf
|
|
my_restart.err
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile2
|
|
my.cnf
|
|
my_restart.err
|
|
# 11. With ibdata*, without ib_logfile1
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
# 12. With ibdata*, without ib_logfile2
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|
|
# Cleanup
|
|
bak_ib_logfile0
|
|
bak_ib_logfile1
|
|
bak_ib_logfile2
|
|
bak_ibdata1
|
|
bak_ibdata2
|
|
bak_undo001
|
|
bak_undo002
|
|
bak_undo003
|
|
ib_buffer_pool
|
|
ib_logfile0
|
|
ib_logfile1
|
|
ib_logfile2
|
|
ibdata1
|
|
ibdata2
|
|
my.cnf
|
|
my_restart.err
|
|
undo001
|
|
undo002
|
|
undo003
|