summaryrefslogtreecommitdiff
path: root/include/mysql_com.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r--include/mysql_com.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 2293476c76c..969fba4a433 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -137,17 +137,18 @@ enum enum_server_command
#define SERVER_QUERY_NO_GOOD_INDEX_USED 16
#define SERVER_QUERY_NO_INDEX_USED 32
/*
- The server was able to fulfill client request and open read-only
- non-scrollable cursor for the query. This flag comes in server
- status with reply to COM_EXECUTE and COM_EXECUTE_DIRECT commands.
+ The server was able to fulfill the clients request and opened a
+ read-only non-scrollable cursor for a query. This flag comes
+ in reply to COM_STMT_EXECUTE and COM_STMT_FETCH commands.
*/
#define SERVER_STATUS_CURSOR_EXISTS 64
/*
- This flag is sent with last row of read-only cursor, in reply to
- COM_FETCH command.
+ This flag is sent when a read-only cursor is exhausted, in reply to
+ COM_STMT_FETCH command.
*/
#define SERVER_STATUS_LAST_ROW_SENT 128
#define SERVER_STATUS_DB_DROPPED 256 /* A database was dropped */
+#define SERVER_STATUS_NO_BACKSLASH_ESCAPES 512
#define MYSQL_ERRMSG_SIZE 512
#define NET_READ_TIMEOUT 30 /* Timeout on read */