1# 2# This file contains bootstrap test cases that do not 3# need to be run with a debug build. See also the 4# test file 'dd_bootstrap_debug.test' for debug 5# test cases. 6# 7# Preparation: Shut server down. 8# 9# 1. Try restart after dropping the time_zone_transition_type table. 10# ------------------------------------------------------------------ 11# 1.1 Create bootstrap file. 12# 1.2 First start the server with --initialize, and drop the time_zone_transition_type table. 13# 1.3 Restart the server against DDIR - should succeed. 14# 1.4 Shut server down. 15# 1.5 Look for warning. 16# Time zone table warning found 1 times. 17# 1.6 Delete bootstrap file, log file and datadir. 18# 19# 2. Try restart after deleting the mysql dd tablespace file. 20# ----------------------------------------------------------- 21# 2.1 First start the server with --initialize. 22# 2.2 Delete the physical tablespace file for mysql.ibd. 23# 2.3 Restart the server against DDIR - should fail. 24# 2.4 Look for error. 25# DD initialization error found 1 times. 26# 2.5 Delete log file and datadir. 27# 28# 3. Try restart on a non-existing datadir. 29# ----------------------------------------- 30# 3.1 Restart the server against non-existing DDIR - should fail. 31# 3.2 Look for error. 32# Datadir error found 1 times. 33# 3.3 Delete log file but datadir does not need cleanup 34# since it is non-existent. 35# 36# 4. Try restart on an empty datadir (non-existing mysql dir). 37# ------------------------------------------------------------ 38# 4.1 Restart the server against existing but empty DDIR - should fail. 39# 4.2 Look for error. 40# DD initialization error found 1 times. 41# 4.3 Delete log file and datadir. 42# 43# 5. Try restart on an empty mysql dir. 44# ------------------------------------- 45# 5.1 Restart the server against existing but empty mysql dir - should fail. 46# 5.2 Look for error. 47# DD initialization error found 1 times. 48# 5.3 Delete log file and datadir. 49# 50# Cleanup: Restarting the server against default datadir. 51