summaryrefslogtreecommitdiff
path: root/storage/innobase/dict/dict0crea.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/dict/dict0crea.cc')
-rw-r--r--storage/innobase/dict/dict0crea.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/storage/innobase/dict/dict0crea.cc b/storage/innobase/dict/dict0crea.cc
index 0b1c39e145e..cf5c6d5014f 100644
--- a/storage/innobase/dict/dict0crea.cc
+++ b/storage/innobase/dict/dict0crea.cc
@@ -1405,13 +1405,15 @@ dict_create_or_check_foreign_constraint_tables(void)
"PROCEDURE CREATE_GARBAGE_TABLE_PROC () IS\n"
"BEGIN\n"
"CREATE TABLE\n"
- "\"test/#sql-ib-garbage\"(ID CHAR);\n"
- "CREATE UNIQUE CLUSTERED INDEX PRIMARY"
- " ON \"test/#sql-ib-garbage\"(ID);\n"
+ "\"test/" TEMP_FILE_PREFIX_INNODB "-garbage\""
+ "(ID CHAR);\n"
+ "CREATE UNIQUE CLUSTERED INDEX PRIMARY ON "
+ "\"test/" TEMP_FILE_PREFIX_INNODB "-garbage\"(ID);\n"
"END;\n", FALSE, trx);
ut_ad(err == DB_SUCCESS);
- row_drop_table_for_mysql("test/#sql-ib-garbage", trx,
- SQLCOM_DROP_DB, true););
+ row_drop_table_for_mysql("test/"
+ TEMP_FILE_PREFIX_INNODB "-garbage",
+ trx, SQLCOM_DROP_DB, true););
ib::info() << "Creating foreign key constraint system tables.";