diff options
author | heikki@hundin.mysql.fi <> | 2004-02-19 20:07:02 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2004-02-19 20:07:02 +0200 |
commit | 4bed5784dd41f3d02c6571e34af04cf91c32a915 (patch) | |
tree | 75425c7281891c9cd564869a24f909c5cf1f8a18 /innobase/data | |
parent | 811e9b17ffe1bfa03ca17d796bad38344ca9364c (diff) | |
download | mariadb-git-4bed5784dd41f3d02c6571e34af04cf91c32a915.tar.gz |
Many files:
Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
Diffstat (limited to 'innobase/data')
-rw-r--r-- | innobase/data/data0type.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/innobase/data/data0type.c b/innobase/data/data0type.c index f505cdfb0a2..39c80b773a2 100644 --- a/innobase/data/data0type.c +++ b/innobase/data/data0type.c @@ -12,6 +12,13 @@ Created 1/16/1996 Heikki Tuuri #include "data0type.ic" #endif +/* At the database startup we store the default-charset collation number of +this MySQL installation to this global variable. If we have < 4.1.2 format +column definitions, or records in the insert buffer, we use this +charset-collation code for them. */ + +ulint data_mysql_default_charset_coll = 99999999; + dtype_t dtype_binary_val = {DATA_BINARY, 0, 0, 0, 0}; dtype_t* dtype_binary = &dtype_binary_val; |