Below is the list of changes that have just been committed into a local
6.0 repository of tsmith. When tsmith does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-01-29 19:32:44+01:00, tsmith@stripped +1 -0
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.
include/mysql_com.h@stripped, 2008-01-29 19:29:17+01:00, tsmith@stripped +1 -0
Add new result set status flag SERVER_QUERY_WAS_SLOW
diff -Nrup a/include/mysql_com.h b/include/mysql_com.h
--- a/include/mysql_com.h 2008-01-03 14:15:14 +01:00
+++ b/include/mysql_com.h 2008-01-29 19:29:17 +01:00
@@ -176,6 +176,7 @@ enum enum_server_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 SERVER_QUERY_WAS_SLOW 1024
#define MYSQL_ERRMSG_SIZE 512
#define NET_READ_TIMEOUT 30 /* Timeout on read */