1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00
two versions of KILL implementation


include/mysql_com.h:
  ONLY_KILL_QUERY flag definition
sql/lex.h:
  CONNECTION keyword added
sql/mysql_priv.h:
  kill_one_thread function extended
sql/sql_class.h:
  only_kill_query flag added to the THD structure
sql/sql_parse.cc:
  handling of KILL QUERY feature added
sql/sql_yacc.yy:
  KILL syntax extended with CONNECTION an QUERY options
This commit is contained in:
unknown
2003-03-21 09:37:01 +04:00
parent 867efa281a
commit 744942beab
6 changed files with 31 additions and 9 deletions

View File

@@ -550,6 +550,7 @@ public:
bool system_thread,in_lock_tables,global_read_lock;
bool query_error, bootstrap, cleanup_done;
bool volatile killed;
bool volatile only_kill_query;
bool prepare_command;
bool tmp_table_used;
sp_rcontext *spcont; // SP runtime context