- 17 Dec, 2013 1 commit
-
-
unknown authored
Add another test case. Fix bug found: When one thread aborts, another thread might wrongly advance the relay log position too far, causing the fauling transaction to be skipped and thus lost upon restarting the SQL thread after the failure.
-
- 16 Dec, 2013 1 commit
-
-
unknown authored
Fix locking bug / race introduced by previous patch: If we bail out of next_event() due to kill, there was a small window where we could exit without rli->data_lock held, causing an unlock-twice bug.
-
- 13 Dec, 2013 1 commit
-
-
unknown authored
Add a test case for killing a waiting query in parallel replication. Fix several bugs found: - We should not wakeup_subsequent_commits() in ha_rollback_trans(), since we do not know the right wakeup_error() to give. - When a wait_for_prior_commit() is killed, we must unregister from the waitee so we do not race and get an extra (non-kill) wakeup. - We need to deal with error propagation correctly in queue_for_group_commit when one thread is killed. - Fix one locking issue in queue_for_group_commit(), we could unlock the waitee lock too early and this end up processing wakeup() with insufficient locking. - Fix Xid_log_event::do_apply_event; if commit fails it must not update the in-memory @@gtid_slave_pos state. - Fix and cleanup some things in the rpl_parallel.cc error handling. - Add a missing check for killed in the slave sql driver thread, to avoid a race.
-
- 06 Dec, 2013 1 commit
-
-
unknown authored
A couple of more parallel replication waits made killable.
-
- 05 Dec, 2013 1 commit
-
-
unknown authored
Make wait_for_prior_commit killable, and handle the error if killed.
-
- 29 Nov, 2013 2 commits
-
-
unknown authored
This was actually implemented as part of MDEV-4506, parallel replication. Unfortunately, one of the conditionals was reversed. So fsync of master.info was disabled in non-gtid mode, instead of in gtid mode. So fix the conditional to be correct.
-
Alexander Barkov authored
inintentionally broken during merge 5.5->10.0-base modified: mysql-test/r/mysql_tzinfo_to_sql_symlink.result
-
- 27 Nov, 2013 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
Always use the value of table::file->stats.records when checking whether a table with HA_STATS_RECORDS_IS_EXACT flag contains not more than 1 record.
-
unknown authored
The update of mysql.gtid_slave_pos during event replication used the wrong way to disable binary logging for the table updates. Fix to instead temporarily clear the OPT_BIN_LOG flag.
-
- 26 Nov, 2013 2 commits
-
-
Igor Babaev authored
The bug was fixed by the patch applied to the 5.3 tree in the revision 3727.
-
Alexander Barkov authored
sort directory data to make sure the same data order in the output of mysql_tzinfo_to_sql on all platforms.
-
- 25 Nov, 2013 4 commits
-
-
Igor Babaev authored
-
unknown authored
Add another column to SHOW SLAVE STATUS, and adjust test suite to cope.
-
Igor Babaev authored
-
Igor Babaev authored
remove_eq_conds() in the function make_join_statistics().
-
- 23 Nov, 2013 3 commits
-
-
Igor Babaev authored
-
Sergei Golubchik authored
-
Igor Babaev authored
-
- 22 Nov, 2013 8 commits
-
-
Sergei Golubchik authored
-
Igor Babaev authored
-
Elena Stepanova authored
-
unknown authored
Attempt to read the master-bin.state file always, even if the binlog files (master-bin.index and master-bin.XXXXXX) have been deleted. This allows to easily preserve the binlog state when provisioning a new server from a copy of an old one, without needing to copy over the binlog files themselves.
-
Alexander Barkov authored
-
Alexander Barkov authored
mysql-test-run: *** ERROR: Could not find any of /mariadb-5.5.34/sql/mysql_tzinfo_to_sql /mariadb-5.5.34/build/client/mysql_tzinfo_to_sql Fixed the directory list to search mysql_tzinfo_to_sql binary in.
-
Igor Babaev authored
-
Igor Babaev authored
-
- 21 Nov, 2013 10 commits
-
-
Igor Babaev authored
The earlier pushed fix for the bug was incomplete. It did not remove the main cause of the problem: the function remove_eq_conds() removed always true multiple equalities from any conjunct, but did not adjust the list of them stored in Item_cond_and::cond_equal.current_level. Simplified the test case for the bug and moved it to another test file. The fix triggered changes in EXPLAIN EXTENDED for some queries.
-
Sergey Petrunya authored
-
unknown authored
MDEV-4725: Incorrect binlog state recovery if crash while writing event group The binlog state was not recovered correctly if XA is not used (eg. InnoDB disabled), or if server crashed in the middle of writing an event group to the binlog. With this patch, we ensure that recovery of binlog state is done even if we do not do the full XA binlog recovery, and we ensure that we only recover fully written event groups into the binlog state.
-
Sergey Petrunya authored
- Make log_slow_statement() always call delete_explain_query().
-
Sergey Petrunya authored
- Added testcase
-
Alexander Barkov authored
-
Alexander Barkov authored
Fixed.
-
Sergey Petrunya authored
-
Alexander Barkov authored
-
Sergey Petrunya authored
- Don't pull out a table out of a semi-join if it is on the inner side of an outer join. - Make join->sort_by_table= get_sort_by_table(...) call after const table detection is done. That way, the value of join->sort_by_table will match the actual execution. Which will allow the code in setup_semijoin_dups_elimination() (search for "Make sure that possible sorting of rows from the head table is not to be employed." to see that "Using filesort" is going to be used together with Duplicate Elimination ( and change it to Using temporary + Using filesort)
-
- 18 Nov, 2013 2 commits
-
-
unknown authored
There were some places where insufficient locking between parallel threads could cause invalid memory accesses and possibly other grief. This patch adds the missing locking, and moves the locking into the struct rpl_binlog_state methods to make it easier to see that proper locking is in place everywhere.
-
Sergey Vojtovich authored
-DINSTALL_SYSCONFDIR/-DDEFAULT_SYSCONFDIR specified The reason for a bug is in support-files/CMakeLists.txt that tries to install files in INSTALL_SYSCONF2DIR, without checking whether this variable is actually defined. Normally INSTALL_SYSCONF2DIR is always defined if INSTALL_SYSCONFDIR is defined, and support-files/CMakeLists.txt assumes that. But when one specifies INSTALL_SYSCONFDIR manually on the command line, this assumption might be broken.
-
- 20 Nov, 2013 1 commit
-
-
Sergei Golubchik authored
-