summaryrefslogtreecommitdiff
path: root/include/mysql_com.h
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
commit99eae48a97fdf4399ca55b7e28ff97a9332f0f23 (patch)
tree9daa322eb14aa0cd7af60162e5b2b6c77446def6 /include/mysql_com.h
parent1b26332898746bd3738fec850eb1206114c19448 (diff)
downloadmariadb-git-99eae48a97fdf4399ca55b7e28ff97a9332f0f23.tar.gz
WL#1349 Use operating system localization to send it as a default client character set
Diffstat (limited to 'include/mysql_com.h')
-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