mariadb/storage
Michael Widenius 8fb10c24d7 Fixed that automatic killing of delayed insert thread (in flush, alter table etc) will not abort auto-repair of MyISAM table.
Give more information when finding an error in a MyISAM table.
When killing system thread, use KILL_SYSTEM_THREAD instead of KILL_CONNECTION to make it easier to ignore the signal in sensitive context (like auto-repair)
Added new kill level: KILL_SERVER that will in the future to be used to signal killed by shutdown.
Add more warnings about killed connections when warning level > 3

include/myisamchk.h:
  Added counting of printed info/notes
mysys/mf_iocache.c:
  Remove duplicate assignment
sql/handler.cc:
  Added test of KILL_SERVER
sql/log.cc:
  Ignore new 'kill' error ER_NEW_ABORTING_CONNECTION when requesting query error code.
sql/mysqld.cc:
  Add more warnings for killed connections when warning level > 3
sql/scheduler.cc:
  Added checks for new kill signals
sql/slave.cc:
  Ignore new kill signal ER_NEW_ABORTING_CONNECTION
sql/sp_head.cc:
  Fixed assignment to bool
  Added testing of new kill signals
sql/sql_base.cc:
  Use KILL_SYSTEM_THREAD to auto-kill system threads
sql/sql_class.cc:
  Add more warnings for killed connections when warning level > 3
  thd_killed() now ignores KILL_BAD_DATA and THD::KILL_SYSTEM_THREAD as these should not abort sensitive operations.
sql/sql_class.h:
  Added KILL_SYSTEM_THREAD and KILL_SERVER
sql/sql_connect.cc:
  Added handling of KILL_SERVER
sql/sql_insert.cc:
  Use KILL_SYSTEM_THREAD to auto-kill system threads
  Added handling of KILL_SERVER
sql/sql_parse.cc:
  Add more warnings for killed connections when warning level > 3
  Added checking that thd->abort_on_warning is reset at end of query.
sql/sql_show.cc:
  Update condition for when a query is 'killed'
storage/myisam/ha_myisam.cc:
  Added counting of info/notes printed
storage/myisam/mi_check.c:
  Always print an an error if we find data errors when checking/repairing a MyISAM table.
  When a repair was killed, don't retry repair.
  Added assert if sort_get_next_record() returned an error without an error message.
  Removed nonsence check "if (sort_param->read_cache.error < 0)" in repair.
storage/myisam/myisamchk.c:
  Added counting of notes printed
storage/pbxt/src/thread_xt.cc:
  Better error message.
2011-09-09 19:44:07 +03:00
..
archive Fixes BUG#60976 "Crash, valgrind warning and memory leak with partitioned archive tables" 2011-06-11 14:28:15 +03:00
blackhole merge 2010-12-06 13:16:49 +01:00
csv merge 2010-12-06 13:16:49 +01:00
example small enhancement of the create table options feature: 2011-05-10 18:19:11 +02:00
federated Merge with 5.1 2011-01-12 17:38:13 +02:00
federatedx Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
heap Merge with 5.1 2011-06-24 12:13:03 +03:00
ibmdb2i Fixed typos 2011-01-07 13:45:59 +02:00
innobase Merge with MySQL 5.1.57/58 2011-05-02 20:58:45 +03:00
innodb_plugin Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
maria Added variable ARIA_CHECKPOINT_LOG_ACTIVITY to allow one to specify how often we should do a checkpoint. 2011-09-01 21:13:09 +03:00
myisam Fixed that automatic killing of delayed insert thread (in flush, alter table etc) will not abort auto-repair of MyISAM table. 2011-09-09 19:44:07 +03:00
myisammrg Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
ndb Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
oqgraph Detect Boost installation and build OQGRAPH when possible. For now, disable oqgraph on x64 until 2011-04-10 22:48:28 -07:00
pbxt Fixed that automatic killing of delayed insert thread (in flush, alter table etc) will not abort auto-repair of MyISAM table. 2011-09-09 19:44:07 +03:00
sphinx MBug#691437: storage/sphinx/plug.in missing from source tarball. 2010-12-17 08:33:36 +01:00
xtradb Fix Windows embedded warnings 2011-05-10 18:18:25 +02:00
Makefile.am Merge with MySQL 5.1.50 2010-08-27 17:12:44 +03:00
mysql_storage_engine.cmake Small CMake fixes : 2011-05-15 13:38:18 +02:00