summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mysql.com>2009-10-15 15:17:32 +0500
committerAlexander Barkov <bar@mysql.com>2009-10-15 15:17:32 +0500
commitf8a54c72ff3dc33a5dec9257f05d0f284f244292 (patch)
tree7f2c2690a6c4b4439750de17315dbc10dec56617 /include/my_sys.h
parent583b8530922c7812da9f684fe6b69579aeee4a1f (diff)
downloadmariadb-git-f8a54c72ff3dc33a5dec9257f05d0f284f244292.tar.gz
Backporting WL#4164 Two-byte collation IDs
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 4b93dc0e364..34965ae9c67 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -231,8 +231,9 @@ extern uint my_large_page_size;
#endif
/* charsets */
+#define MY_ALL_CHARSETS_SIZE 2048
extern MYSQL_PLUGIN_IMPORT CHARSET_INFO *default_charset_info;
-extern MYSQL_PLUGIN_IMPORT CHARSET_INFO *all_charsets[256];
+extern MYSQL_PLUGIN_IMPORT CHARSET_INFO *all_charsets[MY_ALL_CHARSETS_SIZE];
extern CHARSET_INFO compiled_charsets[];
/* statistics */