mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -1234,9 +1234,12 @@ loop:
|
|||
que_graph_free(graph);
|
||||
|
||||
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);
|
||||
|
||||
fprintf(stderr, "InnoDB: foreign constraint creation failed\n");
|
||||
fprintf(stderr, "InnoDB: tablespace is full\n");
|
||||
|
||||
trx_general_rollback_for_mysql(trx, FALSE, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue