summaryrefslogtreecommitdiff
path: root/innobase/data
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-04-21 15:09:10 +0300
committerunknown <marko@hundin.mysql.fi>2005-04-21 15:09:10 +0300
commitfea290807c89790b62ea41a6f457287a5d2ef1e9 (patch)
treea7cc397e8ca71d1edb546d2526ea139d72c09fbc /innobase/data
parent7b07e3329a8fac0728ff8d2fa405eac206fe134a (diff)
downloadmariadb-git-fea290807c89790b62ea41a6f457287a5d2ef1e9.tar.gz
InnoDB: Speed up comparison functions by making
DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL a constant. innobase/data/data0type.c: Remove data_mysql_latin1_swedish_charset_coll. innobase/include/data0type.h: Replace variable data_mysql_latin1_swedish_charset_coll with constant DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL. innobase/rem/rem0cmp.c: Replace variable data_mysql_latin1_swedish_charset_coll with constant DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL. sql/ha_innodb.cc: Eliminate variable data_mysql_latin1_swedish_charset_coll. Add an assertion about DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL.
Diffstat (limited to 'innobase/data')
-rw-r--r--innobase/data/data0type.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/innobase/data/data0type.c b/innobase/data/data0type.c
index 3fcd666b5a5..36b0f9603e5 100644
--- a/innobase/data/data0type.c
+++ b/innobase/data/data0type.c
@@ -39,7 +39,6 @@ column definitions, or records in the insert buffer, we use this
charset-collation code for them. */
ulint data_mysql_default_charset_coll = 99999999;
-ulint data_mysql_latin1_swedish_charset_coll = 99999999;
dtype_t dtype_binary_val = {DATA_BINARY, 0, 0, 0, 0, 0};
dtype_t* dtype_binary = &dtype_binary_val;