mariadb/storage
Michael Widenius 6e9a48b67f Fixed some race conditons and bugs related to killed queries
KILL now breaks locks inside InnoDB
Fixed possible deadlock when running INNODB STATUS
Added ha_kill_query() and kill_query() to send kill signal to all storage engines
Added reset_killed() to ensure we don't reset killed state while awake() is getting called


include/mysql/plugin.h:
  Added thd_mark_as_hard_kill()
include/mysql/plugin_audit.h.pp:
  Added thd_mark_as_hard_kill()
include/mysql/plugin_auth.h.pp:
  Added thd_mark_as_hard_kill()
include/mysql/plugin_ftparser.h.pp:
  Added thd_mark_as_hard_kill()
sql/handler.cc:
  Added ha_kill_query() to send kill signal to all storage engines
sql/handler.h:
  Added ha_kill_query() and kill_query() to send kill signal to all storage engines
sql/log_event.cc:
  Use reset_killed()
sql/mdl.cc:
  use thd->killed instead of thd_killed() to abort on soft kill
sql/sp_rcontext.cc:
  Use reset_killed()
sql/sql_class.cc:
  Fixed possible deadlock in INNODB STATUS by not getting thd->LOCK_thd_data if it's locked.
  Use reset_killed()
  Tell storge engines that KILL has been sent
sql/sql_class.h:
  Added reset_killed() to ensure we don't reset killed state while awake() is getting called.
  Added mark_as_hard_kill()
sql/sql_insert.cc:
  Use reset_killed()
sql/sql_parse.cc:
  Simplify detection of killed queries.
  Use reset_killed()
sql/sql_select.cc:
  Use reset_killed()
sql/sql_union.cc:
  Use reset_killed()
storage/innobase/handler/ha_innodb.cc:
  Added innobase_kill_query()
  Fixed error reporting for interrupted queries.
storage/xtradb/handler/ha_innodb.cc:
  Added innobase_kill_query()
  Fixed error reporting for interrupted queries.
2013-01-11 00:22:14 +02:00
..
archive mysql-5.5.28 2012-10-16 13:04:42 +02:00
blackhole mysql-5.5 merge 2012-06-14 20:05:31 +02:00
csv merge 2012-04-07 15:58:46 +02:00
example MDEV-399 Combinations defined in the base suite cannot be skipped by overlay 2012-08-01 19:57:36 +02:00
federated Merge MariaDB 5.1.66 -> 5.2.12 2012-11-08 15:24:35 +02:00
federatedx rename debug variable to debug_dbug, to make test pass in release builds 2011-12-15 22:07:58 +01:00
heap 5.3->5.5 merge 2012-11-22 10:19:31 +01:00
innobase Fixed some race conditons and bugs related to killed queries 2013-01-11 00:22:14 +02:00
maria 5.3->5.5 merge 2012-11-22 10:19:31 +01:00
myisam mysql-5.5.28 2012-10-16 13:04:42 +02:00
myisammrg MDEV-11: Generic storage engine test suite 2012-07-16 06:17:56 +04:00
ndb Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
oqgraph MDEV-336 oqgraph 5.5 crashes in buildbot 2012-08-24 23:43:18 +02:00
pbxt mysql-test: sys_vars stub for a new xtradb config variable; tc_log_mmap test; 2012-11-26 18:50:29 +01:00
perfschema MDEV-672 : storage/maria and storage/perfschema do not appear to honor WITH_UNIT_TESTS 2012-10-30 23:05:55 +01:00
sphinx MDEV-3883 Show global status not in order 2013-01-08 21:23:40 +01:00
xtradb Fixed some race conditons and bugs related to killed queries 2013-01-11 00:22:14 +02:00