summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mysql.com>2009-10-21 17:59:47 +0500
committerAlexander Barkov <bar@mysql.com>2009-10-21 17:59:47 +0500
commitc15f970dc87b076279c27c7a0c9a592fa4e7b72e (patch)
tree9daa322eb14aa0cd7af60162e5b2b6c77446def6 /include
parentd850a57c3b8f7759cb39b6daa65aceb28632cf26 (diff)
downloadmariadb-git-c15f970dc87b076279c27c7a0c9a592fa4e7b72e.tar.gz
WL#1349 Use operating system localization to send it as a default client character set
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index db5a5eb8741..b571ce3e894 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -27,6 +27,8 @@
#define NAME_LEN (NAME_CHAR_LEN*SYSTEM_CHARSET_MBMAXLEN)
#define USERNAME_LENGTH (USERNAME_CHAR_LENGTH*SYSTEM_CHARSET_MBMAXLEN)
+#define MYSQL_AUTODETECT_CHARSET_NAME "auto"
+
#define SERVER_VERSION_LENGTH 60
#define SQLSTATE_LENGTH 5