summaryrefslogtreecommitdiff
path: root/include/mysql_com.h
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-21 18:10:19 +0400
committerAlexander Nozdrin <alik@sun.com>2009-10-21 18:10:19 +0400
commit2c5ee88a564140f35df0deb4ccfbd7d8d14a3941 (patch)
tree3b1cb3f4f48e049618214dee4a353880b4131970 /include/mysql_com.h
parent6756b0fc5f25b2127c4cd9a4d4fe1ce6cd0bfc41 (diff)
downloadmariadb-git-2c5ee88a564140f35df0deb4ccfbd7d8d14a3941.tar.gz
Backport WL#4098 from 6.0.
The value was changed from 1024 to 2048, because 1024 is already used. Original revision: ------------------------------------------------------------ revno: 2476.657.259 committer: tsmith@bk-internal.mysql.com timestamp: Tue 2008-01-29 19:32:44 +0100 message: WL#4098: Add a status flag for slow queries Add new result set status flag SERVER_QUERY_WAS_SLOW in mysql_com.h. There is no server-side implementation to actually set this flag at this time. This patch simply defines the interface so that applications can make use of it. See the worklog for background. ------------------------------------------------------------
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r--include/mysql_com.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index db5a5eb8741..236e17ccb94 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -203,6 +203,7 @@ enum enum_server_command
number of result set columns.
*/
#define SERVER_STATUS_METADATA_CHANGED 1024
+#define SERVER_QUERY_WAS_SLOW 2048
/**
Server status flags that must be cleared when starting