- 06 Jan, 2015 2 commits
-
-
Jan Lindström authored
Analysis: For some reason actual thread handle is not returned on Windows instead lpThreadId was returned and thread handle was closed after thread create. Later CloseHandle was called for recv_writer_thread_handle and psort_info->thread_hdl. Fix: Return thread handle from os_thread_create() also on Windows and store these thread handles also in srv0start.cc so that they can be later closed.
-
Kristian Nielsen authored
Use include/sync_with_master_gtid.inc instead of --sync_with_master to avoid a race in the test case. In parallel replication, the old-style slave position (which is used by --sync_with_master) is updated out-of-order between parallel threads. This makes it possible for the position to be updated past DROP TEMPORARY TABLE t2 just before the commit of INSERT INTO t1 SELECT * FROM t2 becomes visible. In this case, there is a small window where a SELECT just after --sync_with_master may not see the changes from the INSERT.
-
- 30 Dec, 2014 1 commit
-
-
Michael Widenius authored
The bug was fixed by Serg earlier by including Sphinx 2.2.6, but he forgot to update the test case.
-
- 28 Dec, 2014 1 commit
-
-
Jan Lindström authored
Patch by James Taylor.
-
- 19 Dec, 2014 1 commit
-
-
Michael Widenius authored
scripts/mysql_system_tables.sql: Removed DEFAULT from a blob definition as this can cause problems.
-
- 18 Dec, 2014 1 commit
-
-
Kristian Nielsen authored
Fix a possible race in the test case when restarting the server. Make sure we have disconnected before waiting for the reconnect that signals that the server is back up. Otherwise, we may in rare cases continue the test while the old server is shutting down, eventually leading to "connection lost" failure.
-
- 12 Dec, 2014 3 commits
-
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
-
Kristian Nielsen authored
-
- 10 Dec, 2014 1 commit
-
-
Jan Lindström authored
-
- 07 Dec, 2014 1 commit
-
-
Elena Stepanova authored
-
- 05 Dec, 2014 2 commits
-
-
Elena Stepanova authored
-
Elena Stepanova authored
-
- 04 Dec, 2014 1 commit
-
-
Jan Lindström authored
-
- 03 Dec, 2014 6 commits
-
-
Elena Stepanova authored
Updated hardcoded event numbers according to current GTID logic
-
Elena Stepanova authored
RENAME TABLE on a non-existing table produces a better error message
-
Elena Stepanova authored
Updated engines/* test results according to the bugfix MDEV-5894 (MySQL BUG#34750: Print database name in Unknown Table error message)
-
Elena Stepanova authored
Error message was changed along with CREATE OR REPLACE TABLE fixes
-
Elena Stepanova authored
Result files updated according to bugfix for MySQL#55843 (Handled condition appears as not handled)
-
Elena Stepanova authored
In 10.0 output of SHOW DATABASES appears to be sorted, while in result files it is not. Added sorted_result for certainty and updated result files.
-
- 02 Dec, 2014 4 commits
-
-
Sergei Golubchik authored
otherwise mysqltest complains "No queries executed but non-empty result file found!"
-
Sergei Golubchik authored
in particular, not fail with --vertical_results
-
Kristian Nielsen authored
There was a race. The test case was expecting the slave to start processing a particular DELETE statement, then the test would stop the slave at this point. But there was missing something to wait until the slave would actually reach this point; thus depending on timing it was possible that the slave would be stopped too early, causing .result file difference. Fixed by adding an appropriate wait to the test case.
-
Jan Lindström authored
Problem with test is that test causes OS failures that change. Idea with test is just to test that server does not crash, no other output is necessary.
-
- 03 Dec, 2014 1 commit
-
-
Kristian Nielsen authored
The problem was a race between the debug code in the server and the SHOW EXPLAIN FOR in the test case. The test case would wait for a query to reach the first point of interest (inside dbug_serve_apcs()), then send it a SHOW EXPLAIN FOR, then wait for the query to reach the next point of interest. However, the second wait was insufficient. It was possible for the the second wait to complete immediately, causing both the first and the second SHOW EXPLAIN FOR to hit the same invocation of dbug_server_apcs(). Then a later invocation would miss its intended SHOW EXPLAIN FOR and hang, and the test case would eventually time out. Fix is to make sure that the second wait can not trigger during the first invocation of dbug_server_apcs(). We do this by clearing the thd_proc_info (that the wait is looking for) before processing the SHOW EXPLAIN FOR; this way the second wait can not start until the thd_proc_info from the first invocation has been cleared.
-
- 02 Dec, 2014 3 commits
-
-
Kristian Nielsen authored
Fix wording in error log message, to be consistent with other messages ("IO thread" -> "I/O thread").
-
Kristian Nielsen authored
Fix rare failures in test case rpl.rpl_gtid_basic: - Add another possible error code when a connection is killed. - Make sure that the IO thread has had time to complete its stop after START SLAVE UNTIL. Otherwise, START SLAVE might run before IO thread stop, leaving the test case with a stopped IO thread that eventually causes a wait timeout.
-
Kristian Nielsen authored
There was a race, a small window between updating slave position and updating Seconds_Behind_Master, during which the test case could see the wrong value. Fix by waiting for the expected status to appear.
-
- 01 Dec, 2014 5 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 22 Nov, 2014 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-7144 Warnings "bytes lost" during server shutdown after running connect.part_file test in buildbot
-
- 01 Dec, 2014 1 commit
-
-
Kristian Nielsen authored
The replication relay log position was sometimes updated incorrectly at the end of a transaction in parallel replication. This happened because the relay log file name was taken from the current Relay_log_info (SQL driver thread), not the correct value for the transaction in question. The result was that if a transaction was applied while the SQL driver thread was at least one relay log file ahead, _and_ the SQL thread was subsequently stopped before applying any events from the most recent relay log file, then the relay log position would be incorrect - wrong relay log file name. Thus, when the slave was started again, usually a relay log read error would result, or in rare cases, if the position happened to be readable, the slave might even skip arbitrary amounts of events. In GTID mode, the relay log position is reset when both slave threads are restarted, so this bug would only be seen in non-GTID mode, or in GTID mode when only the SQL thread, not the IO thread, was stopped.
-
- 28 Nov, 2014 1 commit
-
-
Alexander Barkov authored
Simply disallowing equality propagation into LIKE. A more delicate fix is be possible, but it would need too many changes, which is not desirable in 10.0 at this point.
-
- 27 Nov, 2014 2 commits
-
-
Kristian Nielsen authored
MDEV-7037: MariaDB 10.0 does not build on Debian / kfreebsd-i386/amd64 due to MTR failure: multi_source.gtid MDEV-7106: Sporadic test failure in multi_source.gtid MDEV-7153: Yet another sporadic failure of multi_source.gtid in buildbot This patch fixes three races in the multi_source.gtid test case that could cause sporadic failures: 1. Do not put SHOW ALL SLAVES STATUS in the output, the output is not stable. 2. Ensure that slave1 has replicated as far as expected, before stopping its connection to master1 (otherwise the following wait will time out due to rows not replicated from master1). 3. Ensure that slave2 has replicated far enough before connecting slave1 to it (otherwise we get an error during connect that slave1 is ahead of slave2).
-
Alexander Barkov authored
Moving Item_bool_func2 and Item_func_opt_neg from Item_int_func to Item_bool_func. Now all functions that return is_bool_func()=true have a common root class Item_bool_func. This change is needed to fix MDEV-7149 properly.
-
- 26 Nov, 2014 1 commit
-
-
Jan Lindström authored
Thanks to Daniel Black.
-