mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
table->write_set was changed if binary logging was used, which caused the
changes in query execution plans. Fixed by introducing table->rpl_write_set which holds which columns should be stored in the binary log. Other things: - Removed some not needed references to read_set and write_set to make code really changing read_set and write_set easier to read (in opt_range.cc) - Added error handling of failed unpack_current_row() - Added missing call to mark_columns_needed_for_insert() for DELAYED INSERT - Removed not used functions in_read_set() and in_write_set() - In rpl_record.cc, removed not used variable error
This commit is contained in:
@ -2867,6 +2867,8 @@ pthread_handler_t handle_delayed_insert(void *arg)
|
||||
/* Tell client that the thread is initialized */
|
||||
mysql_cond_signal(&di->cond_client);
|
||||
|
||||
di->table->mark_columns_needed_for_insert();
|
||||
|
||||
/* Now wait until we get an insert or lock to handle */
|
||||
/* We will not abort as long as a client thread uses this thread */
|
||||
|
||||
|
Reference in New Issue
Block a user