dict0crea.c:
Add diagnostic code to find out why foreign key constraint creation sometimes fails innobase/dict/dict0crea.c: Add diagnostic code to find out why foreign key constraint creation sometimes fails
This commit is contained in:
parent
8e6ac521eb
commit
85a8f75a7d
@ -1234,9 +1234,12 @@ loop:
|
|||||||
que_graph_free(graph);
|
que_graph_free(graph);
|
||||||
|
|
||||||
if (error != DB_SUCCESS) {
|
if (error != DB_SUCCESS) {
|
||||||
|
fprintf(stderr,
|
||||||
|
"InnoDB: foreign constraint creation failed;\n"
|
||||||
|
"InnoDB: internal error number %lu\n", error);
|
||||||
|
|
||||||
ut_a(error == DB_OUT_OF_FILE_SPACE);
|
ut_a(error == DB_OUT_OF_FILE_SPACE);
|
||||||
|
|
||||||
fprintf(stderr, "InnoDB: foreign constraint creation failed\n");
|
|
||||||
fprintf(stderr, "InnoDB: tablespace is full\n");
|
fprintf(stderr, "InnoDB: tablespace is full\n");
|
||||||
|
|
||||||
trx_general_rollback_for_mysql(trx, FALSE, NULL);
|
trx_general_rollback_for_mysql(trx, FALSE, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user