| 1 |
--source include/have_debug.inc |
| 2 |
|
| 3 |
# Connect to all |
| 4 |
--source connect.inc |
| 5 |
|
| 6 |
--echo # |
| 7 |
--echo # Bug#30402362 FAILURE TO WRITE THE SCHEMA OPERATION INTO THE NDB_SCHEMA TABLE CRASHES MYSQLD |
| 8 |
--echo # |
| 9 |
|
| 10 |
# Set debug to fail the write of schema operation into ndb_schema table |
| 11 |
set GLOBAL debug="+d,ndb_schema_write_fail"; |
| 12 |
|
| 13 |
# Suppress the warning that will be logged |
| 14 |
call mtr.add_suppression("Failed to write the schema op into the ndb_schema table"); |
| 15 |
|
| 16 |
--error ER_CANT_CREATE_TABLE |
| 17 |
CREATE TABLE t1( |
| 18 |
a INT PRIMARY KEY |
| 19 |
) ENGINE NDB; |
| 20 |
|
| 21 |
SHOW WARNINGS; |
| 22 |
|
| 23 |
# Clear debug setup |
| 24 |
set GLOBAL debug="-d,ndb_schema_write_fail"; |