summaryrefslogtreecommitdiff
path: root/innobase/include/dict0load.h
diff options
context:
space:
mode:
authoraivanov@mysql.com <>2005-12-12 21:06:59 +0300
committeraivanov@mysql.com <>2005-12-12 21:06:59 +0300
commit7ae2d469037f85892aab534bb908fa57682d8ed9 (patch)
tree35392e37ca8b9a00df52afbe11acee443b2f1edb /innobase/include/dict0load.h
parentdd7d2d0a115b2b0888a48bced42b2bd3eafcb957 (diff)
downloadmariadb-git-7ae2d469037f85892aab534bb908fa57682d8ed9.tar.gz
Fix BUG#12071: "Windows hang: 'Opening tables' or 'Waiting for
table' lockup". Changes from the innodb-4.1-ss11 snapshot. Do not call os_file-create_tmpfile() at runtime. Instead, create a tempfile at startup and guard access to it with a mutex. Also, fix bugs: 10511: "Wrong padding of UCS2 CHAR columns in ON UPDATE CASCADE"; 13778: "If FOREIGN_KEY_CHECKS=0, one can create inconsistent FOREIGN KEYs". When FOREIGN_KEY_CHECKS=0 we still need to check that datatypes between foreign key references are compatible. Also, added test cases (also for bug 9802).
Diffstat (limited to 'innobase/include/dict0load.h')
-rw-r--r--innobase/include/dict0load.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/include/dict0load.h b/innobase/include/dict0load.h
index f13620bc6e8..741123614ab 100644
--- a/innobase/include/dict0load.h
+++ b/innobase/include/dict0load.h
@@ -82,7 +82,8 @@ dict_load_foreigns(
/*===============*/
/* out: DB_SUCCESS or error code */
const char* table_name, /* in: table name */
- ibool check_types); /* in: TRUE=check type compatibility */
+ ibool check_charsets);/* in: TRUE=check charsets
+ compatibility */
/************************************************************************
Prints to the standard output information on all tables found in the data
dictionary system table. */