diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-18 19:04:23 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-18 19:04:23 +0100 |
commit | d41d43f42165cafe87d361f473e226fee24e91ba (patch) | |
tree | 20afb41b68fe7982e4500aa9427401fca3ff2fa7 /include/mysql/plugin.h | |
parent | 5649377b558d182a4856a86157070e0df93097a7 (diff) | |
download | mariadb-git-d41d43f42165cafe87d361f473e226fee24e91ba.tar.gz |
MDEV-4065 thd_kill_statement service
Diffstat (limited to 'include/mysql/plugin.h')
-rw-r--r-- | include/mysql/plugin.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h index d30abb190d0..d28b762ce37 100644 --- a/include/mysql/plugin.h +++ b/include/mysql/plugin.h @@ -72,7 +72,7 @@ typedef struct st_mysql_xid MYSQL_XID; #define MYSQL_PLUGIN_INTERFACE_VERSION 0x0103 /* MariaDB plugin interface version */ -#define MARIA_PLUGIN_INTERFACE_VERSION 0x0103 +#define MARIA_PLUGIN_INTERFACE_VERSION 0x0104 /* The allowable types of plugins @@ -626,22 +626,6 @@ void thd_inc_row_count(MYSQL_THD thd); int mysql_tmpfile(const char *prefix); /** - Check the killed state of a connection - - @details - In MySQL support for the KILL statement is cooperative. The KILL - statement only sets a "killed" flag. This function returns the value - of that flag. A thread should check it often, especially inside - time-consuming loops, and gracefully abort the operation if it is - non-zero. - - @param thd user thread connection handle - @retval 0 the connection is active - @retval 1 the connection has been killed -*/ -int thd_killed(const MYSQL_THD thd); - -/** Return the thread id of a user thread @param thd user thread connection handle |