summaryrefslogtreecommitdiff
path: root/sql/sql_show.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2013-09-13 20:14:56 +0400
committerSergey Vojtovich <svoj@mariadb.org>2013-09-13 20:14:56 +0400
commit1a2a9d74fe1256554eceb09bbc6752a6376df87d (patch)
tree7e673528773b0ef3c001d878b8646105f95a5f5f /sql/sql_show.h
parent7a80c534ad0eb7d71e67999e27d1759d6a8fbf95 (diff)
downloadmariadb-git-1a2a9d74fe1256554eceb09bbc6752a6376df87d.tar.gz
MDEV-4911 - add KILL query id, and add query id information to processlist
It is now possible to kill query by query id. KILL syntax was extended to: KILL [HARD | SOFT] [CONNECTION | QUERY [ID query_id]] [thread_id | USER user_name] Added QUERY_ID column to INFORMATION_SCHEMA.PROCESSLIST. Fixed tests affected by this change: - added PROCESSLIST.QUERY_ID column - ID is now keyword and is quoted in SHOW CREATE TABLE output - PFS statement digest is calculated basing on token id (not token text). Token id has shifted for keywords residing after ID in keywords array.
Diffstat (limited to 'sql/sql_show.h')
-rw-r--r--sql/sql_show.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.h b/sql/sql_show.h
index ec4d6a2b7c9..10276e8b65e 100644
--- a/sql/sql_show.h
+++ b/sql/sql_show.h
@@ -121,7 +121,7 @@ enum enum_schema_tables get_schema_table_idx(ST_SCHEMA_TABLE *schema_table);
/* These functions were under INNODB_COMPATIBILITY_HOOKS */
int get_quote_char_for_identifier(THD *thd, const char *name, uint length);
-THD *find_thread_by_id(ulong id);
+THD *find_thread_by_id(longlong id, bool query_id= false);
class select_result_explain_buffer;
/*