diff options
author | monty@narttu.mysql.fi <> | 2003-06-14 11:37:42 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-06-14 11:37:42 +0300 |
commit | a1034db4b9f55172b75d1dcb5cd11a7d32c716b2 (patch) | |
tree | f247f6e12388923f7fa5395b19d69e2dc62dbcd1 /include/mysql_com.h | |
parent | bb8b0d9d760c57df04d0a403237834ac8fa16a35 (diff) | |
download | mariadb-git-a1034db4b9f55172b75d1dcb5cd11a7d32c716b2.tar.gz |
Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1 master/slave will now use the 4.1 protocol
Fixed wrong value for SQLSTATE_LENGTH
Added CLIENT_REMEMBER_OPTIONS to mysql_real_connect()
Changed mysql_port and mysql_unix_port to mysqld_xxxx
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index faa025c934e..e87001ff27d 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -25,7 +25,7 @@ #define HOSTNAME_LENGTH 60 #define USERNAME_LENGTH 16 #define SERVER_VERSION_LENGTH 60 -#define SQLSTATE_LENGTH 6 +#define SQLSTATE_LENGTH 5 #define LOCAL_HOST "localhost" #define LOCAL_HOST_NAMEDPIPE "." @@ -110,6 +110,7 @@ enum enum_server_command #define CLIENT_SECURE_CONNECTION 32768 /* New 4.1 authentication */ #define CLIENT_MULTI_QUERIES 65536 /* Enable/disable multiquery support */ #define CLIENT_MULTI_RESULTS 131072 /* Enable/disable multi-results */ +#define CLIENT_REMEMBER_OPTIONS (1L << 31) #define SERVER_STATUS_IN_TRANS 1 /* Transaction has started */ #define SERVER_STATUS_AUTOCOMMIT 2 /* Server in auto_commit mode */ |