mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
4537a0c9e9
Stopping mysql server could result in an entry in mysql error file: "InnoDB: Error: MySQL is freeing a thd". This happened because InnoDB assumes that the server will never call external_lock(F_UNLCK) in case external_lock(READ/WRITE) failed. Prior to this patch we haven't had strict definition whether external_lock(F_UNLCK) must be called in case external_lock(READ/WRITE) fails. This patch states that we never call external_lock(F_UNLCK) in case external_lock(READ/WRITE) fails. mysql-test/suite/binlog/t/disabled.def: Re-enabled binlog_innodb and binlog_killed tests. sql/ha_ndbcluster.cc: Restore handler state in case external_lock() failed. sql/ha_partition.cc: Do not call external_lock(F_UNLCK) in case external_lock(READ/WRITE) failed. sql/lock.cc: Do not call external_lock(F_UNLCK) in case external_lock(READ/WRITE) failed. storage/myisammrg/myrg_locking.c: Restore handler state in case external_lock() failed. |
||
---|---|---|
.. | ||
binlog_innodb.test | ||
binlog_killed.test | ||
binlog_multi_engine.test | ||
binlog_row_binlog-master.opt | ||
binlog_row_binlog.test | ||
binlog_row_ctype_cp932.test | ||
binlog_row_ctype_ucs.test | ||
binlog_row_drop_tmp_tbl.test | ||
binlog_row_innodb_stat-master.opt | ||
binlog_row_innodb_stat.test | ||
binlog_row_insert_select.test | ||
binlog_row_mix_innodb_myisam-master.opt | ||
binlog_row_mix_innodb_myisam.test | ||
binlog_statement_insert_delayed.test | ||
binlog_stm_binlog-master.opt | ||
binlog_stm_binlog.test | ||
binlog_stm_blackhole.test | ||
binlog_stm_ctype_cp932.test | ||
binlog_stm_ctype_ucs.test | ||
binlog_stm_drop_tmp_tbl.test | ||
binlog_stm_innodb_stat-master.opt | ||
binlog_stm_innodb_stat.test | ||
binlog_stm_insert_select.test | ||
binlog_stm_mix_innodb_myisam-master.opt | ||
binlog_stm_mix_innodb_myisam.test | ||
binlog_stm_ps.test | ||
disabled.def |