| 1 |
SET @save_debug = @@global.debug; |
| 2 |
SET GLOBAL debug = '+d,ndb_dd_client_install_logfile_group_fail,ndb_schema_trans_commit_fail'; |
| 3 |
CREATE LOGFILE GROUP lg1 |
| 4 |
ADD UNDOFILE 'lg1_undofile.dat' |
| 5 |
INITIAL_SIZE 1M |
| 6 |
UNDO_BUFFER_SIZE 1M |
| 7 |
ENGINE NDB; |
| 8 |
ERROR HY000: Failed to create LOGFILE GROUP |
| 9 |
SHOW WARNINGS; |
| 10 |
Level Code Message |
| 11 |
Warning 1296 Logfile group 'lg1' could not be stored in DD |
| 12 |
Error 1528 Failed to create LOGFILE GROUP |
| 13 |
SET GLOBAL debug = '-d,ndb_dd_client_install_logfile_group_fail'; |
| 14 |
CREATE LOGFILE GROUP lg1 |
| 15 |
ADD UNDOFILE 'lg1_undofile.dat' |
| 16 |
INITIAL_SIZE 1M |
| 17 |
UNDO_BUFFER_SIZE 1M |
| 18 |
ENGINE NDB; |
| 19 |
ERROR HY000: Failed to create LOGFILE GROUP |
| 20 |
SHOW WARNINGS; |
| 21 |
Level Code Message |
| 22 |
Warning 1296 Got error 0 'No error' from NDB |
| 23 |
Warning 1296 Failed to commit NDB schema transaction |
| 24 |
Error 1528 Failed to create LOGFILE GROUP |
| 25 |
SET GLOBAL debug = '-d,ndb_schema_trans_commit_fail'; |
| 26 |
CREATE LOGFILE GROUP lg1 |
| 27 |
ADD UNDOFILE 'lg1_undofile.dat' |
| 28 |
INITIAL_SIZE 1M |
| 29 |
UNDO_BUFFER_SIZE 1M |
| 30 |
ENGINE NDB; |
| 31 |
SET GLOBAL debug = '+d,ndb_dd_client_install_undo_file_fail,ndb_schema_trans_commit_fail'; |
| 32 |
ALTER LOGFILE GROUP lg1 |
| 33 |
ADD UNDOFILE 'lg1_undofile2.dat' |
| 34 |
ENGINE NDB; |
| 35 |
ERROR HY000: Failed to alter: CREATE UNDOFILE FAILED |
| 36 |
SHOW WARNINGS; |
| 37 |
Level Code Message |
| 38 |
Warning 1296 Undofile 'lg1_undofile2.dat' could not be added to logfile group 'lg1' in DD |
| 39 |
Error 1533 Failed to alter: CREATE UNDOFILE FAILED |
| 40 |
SET GLOBAL debug = '-d,ndb_dd_client_install_undo_file_fail'; |
| 41 |
ALTER LOGFILE GROUP lg1 |
| 42 |
ADD UNDOFILE 'lg1_undofile2.dat' |
| 43 |
ENGINE NDB; |
| 44 |
ERROR HY000: Failed to alter: CREATE UNDOFILE FAILED |
| 45 |
SHOW WARNINGS; |
| 46 |
Level Code Message |
| 47 |
Warning 1296 Got error 0 'No error' from NDB |
| 48 |
Warning 1296 Failed to commit NDB schema transaction |
| 49 |
Error 1533 Failed to alter: CREATE UNDOFILE FAILED |
| 50 |
SET GLOBAL debug = '-d,ndb_schema_trans_commit_fail'; |
| 51 |
ALTER LOGFILE GROUP lg1 |
| 52 |
ADD UNDOFILE 'lg1_undofile2.dat' |
| 53 |
ENGINE NDB; |
| 54 |
SET GLOBAL debug = '+d,ndb_schema_trans_commit_fail'; |
| 55 |
CREATE TABLESPACE ts1 |
| 56 |
ADD DATAFILE 'ts1_datafile.dat' |
| 57 |
USE LOGFILE GROUP lg1 |
| 58 |
INITIAL_SIZE 2M |
| 59 |
ENGINE NDB; |
| 60 |
ERROR HY000: Failed to create TABLESPACE |
| 61 |
SHOW WARNINGS; |
| 62 |
Level Code Message |
| 63 |
Warning 1296 Got error 0 'No error' from NDB |
| 64 |
Warning 1296 Failed to commit NDB schema transaction |
| 65 |
Error 1528 Failed to create TABLESPACE |
| 66 |
SET GLOBAL debug = '-d,ndb_schema_trans_commit_fail'; |
| 67 |
CREATE TABLESPACE ts1 |
| 68 |
ADD DATAFILE 'ts1_datafile.dat' |
| 69 |
USE LOGFILE GROUP lg1 |
| 70 |
INITIAL_SIZE 2M |
| 71 |
ENGINE NDB; |
| 72 |
SET GLOBAL debug = '+d,ndb_schema_trans_commit_fail'; |
| 73 |
ALTER TABLESPACE ts1 |
| 74 |
ADD DATAFILE 'ts1_datafile2.dat'; |
| 75 |
ERROR HY000: Failed to alter: CREATE DATAFILE FAILED |
| 76 |
SHOW WARNINGS; |
| 77 |
Level Code Message |
| 78 |
Warning 1296 Got error 0 'No error' from NDB |
| 79 |
Warning 1296 Failed to commit NDB schema transaction |
| 80 |
Error 1533 Failed to alter: CREATE DATAFILE FAILED |
| 81 |
SET GLOBAL debug = '-d,ndb_schema_trans_commit_fail'; |
| 82 |
ALTER TABLESPACE ts1 |
| 83 |
ADD DATAFILE 'ts1_datafile2.dat'; |
| 84 |
SET GLOBAL debug = '+d,ndb_schema_trans_commit_fail'; |
| 85 |
ALTER TABLESPACE ts1 |
| 86 |
DROP DATAFILE 'ts1_datafile2.dat'; |
| 87 |
ERROR HY000: Failed to alter: DROP DATAFILE FAILED |
| 88 |
SHOW WARNINGS; |
| 89 |
Level Code Message |
| 90 |
Warning 1296 Got error 0 'No error' from NDB |
| 91 |
Warning 1296 Failed to commit NDB schema transaction |
| 92 |
Error 1533 Failed to alter: DROP DATAFILE FAILED |
| 93 |
SET GLOBAL debug = '-d,ndb_schema_trans_commit_fail'; |
| 94 |
ALTER TABLESPACE ts1 |
| 95 |
DROP DATAFILE 'ts1_datafile2.dat'; |
| 96 |
ALTER TABLESPACE ts1 |
| 97 |
DROP DATAFILE 'ts1_datafile.dat'; |
| 98 |
SET GLOBAL debug = '+d,ndb_schema_trans_commit_fail'; |
| 99 |
DROP TABLESPACE ts1; |
| 100 |
ERROR HY000: Failed to drop TABLESPACE |
| 101 |
SHOW WARNINGS; |
| 102 |
Level Code Message |
| 103 |
Warning 1296 Got error 0 'No error' from NDB |
| 104 |
Warning 1296 Failed to commit NDB schema transaction |
| 105 |
Error 1529 Failed to drop TABLESPACE |
| 106 |
SET GLOBAL debug = '-d,ndb_schema_trans_commit_fail'; |
| 107 |
DROP TABLESPACE ts1; |
| 108 |
SET GLOBAL debug = '+d,ndb_dd_client_drop_logfile_group_fail,ndb_schema_trans_commit_fail'; |
| 109 |
DROP LOGFILE GROUP lg1 |
| 110 |
ENGINE NDB; |
| 111 |
ERROR HY000: Failed to drop LOGFILE GROUP |
| 112 |
SHOW WARNINGS; |
| 113 |
Level Code Message |
| 114 |
Warning 1296 Logfile group 'lg1' could not be dropped from DD |
| 115 |
Error 1529 Failed to drop LOGFILE GROUP |
| 116 |
SET GLOBAL debug = '-d,ndb_dd_client_drop_logfile_group_fail'; |
| 117 |
DROP LOGFILE GROUP lg1 |
| 118 |
ENGINE NDB; |
| 119 |
ERROR HY000: Failed to drop LOGFILE GROUP |
| 120 |
SHOW WARNINGS; |
| 121 |
Level Code Message |
| 122 |
Warning 1296 Got error 0 'No error' from NDB |
| 123 |
Warning 1296 Failed to commit NDB schema transaction |
| 124 |
Error 1529 Failed to drop LOGFILE GROUP |
| 125 |
SET GLOBAL debug = '-d,ndb_schema_trans_commit_fail'; |
| 126 |
DROP LOGFILE GROUP lg1 |
| 127 |
ENGINE NDB; |
| 128 |
SET @@global.debug = @save_debug; |