Author: shinz
Date: 2006-02-15 17:13:05 +0100 (Wed, 15 Feb 2006)
New Revision: 1330
Log:
Update server capabilities flags
Modified:
trunk/internals/internals.xml
Modified: trunk/internals/internals.xml
===================================================================
--- trunk/internals/internals.xml 2006-02-15 16:05:20 UTC (rev 1329)
+++ trunk/internals/internals.xml 2006-02-15 16:13:05 UTC (rev 1330)
@@ -8561,27 +8561,26 @@
(See "Password functions" section elsewhere in this document.)
server_capabilities: CLIENT_XXX options. The possible flag values at time of
- writing (taken from include/mysql_com.h), in hexadecimal:
- 0001 CLIENT_LONG_PASSWORD new more secure passwords
- 0002 CLIENT_FOUND_ROWS found instead of affected rows
- 0004 CLIENT_LONG_FLAG get all column flags
- 0008 CLIENT_CONNECT_WITH_DB one can specify db on connect
- 0010 CLIENT_NO_SCHEMA don't allow schema.table.column
- 0020 CLIENT_COMPRESS can use compression protocol
- 0040 CLIENT_ODBC ODBC client
- 0080 CLIENT_PROTOCOL_41 can use LOAD DATA LOCAL
- 0100 CLIENT_INTERACTIVE this is an interactive client
- 0200 CLIENT_SSL switch to SSL after handshake
- 0400 CLIENT_IGNORE_SIGPIPE ignore sigpipes
- 0800 CLIENT_TRANSACTIONS client knows about transactions
- 1000 CLIENT_RESERVED old flag for 4.1 protocol
- 2000 CLIENT_SECURE_CONNECTIONnew 4.1 authentication
- 4000 CLIENT_MULTI_STATEMENTS enable multi-query support
- 8000 CLIENT_MULTI_RESULTS enable multi-results
-
- There have been changes since version 4.0, which had
- different flags.
-
+writing (taken from include/mysql_com.h):
+ CLIENT_LONG_PASSWORD 1 /* new more secure passwords */
+ CLIENT_FOUND_ROWS 2 /* Found instead of affected rows */
+ CLIENT_LONG_FLAG 4 /* Get all column flags */
+ CLIENT_CONNECT_WITH_DB 8 /* One can specify db on connect */
+ CLIENT_NO_SCHEMA 16 /* Don't allow database.table.column */
+ CLIENT_COMPRESS 32 /* Can use compression protocol */
+ CLIENT_ODBC 64 /* Odbc client */
+ CLIENT_LOCAL_FILES 128 /* Can use LOAD DATA LOCAL */
+ CLIENT_IGNORE_SPACE 256 /* Ignore spaces before '(' */
+ CLIENT_PROTOCOL_41 512 /* New 4.1 protocol */
+ CLIENT_INTERACTIVE 1024 /* This is an interactive client */
+ CLIENT_SSL 2048 /* Switch to SSL after handshake */
+ CLIENT_IGNORE_SIGPIPE 4096 /* IGNORE sigpipes */
+ CLIENT_TRANSACTIONS 8192 /* Client knows about transactions */
+ CLIENT_RESERVED 16384 /* Old flag for 4.1 protocol */
+ CLIENT_SECURE_CONNECTION 32768 /* New 4.1 authentication */
+ CLIENT_MULTI_STATEMENTS 65536 /* Enable/disable multi-stmt support */
+ CLIENT_MULTI_RESULTS 131072 /* Enable/disable multi-results */
+
server_language: current server character set number
server_status: SERVER_STATUS_xxx flags: e.g. SERVER_STATUS_AUTOCOMMIT
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r1330 - trunk/internals | stefan | 15 Feb |