mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Cleanups
- Remove not used thd_rpl_is_parallel()
- Remove not used mysql_notify_thread_having_shared_lock()
- Remove not needed LOCK_thread_count from MYSQL_BIN_LOG::reset_logs()
- LOCK_thread_count is not protecting against rollback, so this
code and comment is not needed
- Remove mutex_locks in slave.cc that are not needed.
Added THD::assert_not_linked() to ensure that it was safe to remove
- Fixed not repeatable test load_data_stmt_view
- Updated binlog_killed to test removal of mutex
(thanks to Andrei Elkin for test)
- More code comments
This commit is contained in:
@@ -2423,8 +2423,7 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
|
||||
The thread could be killed with an error message if
|
||||
di->handle_inserts() or di->open_and_lock_table() fails.
|
||||
The thread could be killed without an error message if
|
||||
killed using mysql_notify_thread_having_shared_lock() or
|
||||
kill_delayed_threads_for_table().
|
||||
killed using kill_delayed_threads_for_table().
|
||||
*/
|
||||
if (!thd.is_error())
|
||||
my_message(ER_QUERY_INTERRUPTED, ER_THD(&thd, ER_QUERY_INTERRUPTED),
|
||||
|
||||
Reference in New Issue
Block a user