- 23 Sep, 2016 1 commit
-
-
Sergei Golubchik authored
when opening a system table for a SELECT-like read, pretend (for the sake of engines) it's SQLCOM_SELECT
-
- 22 Sep, 2016 1 commit
-
-
Sergey Vojtovich authored
There was race condition between online ALTER TABLE and statements performing TABLE_SHARE release without marking it flushed (e.g. in case of table cache overflow, SET @@global.table_open_cache, manager thread purging table cache). The reason was missing mysql_cond_broadcast().
-
- 20 Sep, 2016 1 commit
-
-
Vicențiu Ciorbaru authored
Linking tokudb with jemalloc privately causes problems on library load/unload. To prevent dangling destructor pointers, link with the same library as the server is using.
-
- 19 Sep, 2016 1 commit
-
-
iangilfillan authored
-
- 13 Sep, 2016 1 commit
-
-
Vicențiu Ciorbaru authored
mincore is defined differently in BSD mincore(void *, size_t, char *) vs linux variant of: mincore(void *, size_t, unsigned char *). Account for this difference in TokuDB.
-
- 11 Sep, 2016 1 commit
-
-
Kristian Nielsen authored
ENOTEMPTY is 247 on hppa, not 39 like on Linux, according to this report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837369 So add another replacement for this to rpl.rpl_drop_db and binlog.binlog_databasae tests (there were already a couple similar replacements for other platforms). Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
-
- 10 Sep, 2016 2 commits
-
-
Kristian Nielsen authored
-
Kristian Nielsen authored
The motivation for this is that Perl is moving towards not having current directory ./ in @INC by default. This is causing mysql-test-run.pl to fail in latest Debian Unstable: https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html However, we have `use "lib"`, there is no need for current directory in @INC, except for a gross hack. In mtr_cases.pm, there is a `require "mtr_misc.pl"`, which hides mtr_misc.pl away in mtr_cases namespace. And things only work because mysql-test-run.pl loads it with a different name, `require "lib/mtr_misc.pl"`! (Perl will `require` only once for each unique filename). Fix this by only using `require` in main program, and referencing functions with :: scope from other namespaces. For multi-use in different namespaces, proper `use` modules should be used. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
-
- 06 Sep, 2016 1 commit
-
-
Daniel Black authored
MDEV-10757: Fix tokudb test rows-32m-rand-insert
-
- 05 Sep, 2016 1 commit
-
-
Sergei Petrunia authored
Attempt to stabilize the testcase.
-
- 29 Aug, 2016 1 commit
-
-
Sergei Golubchik authored
-
- 25 Aug, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 24 Aug, 2016 1 commit
-
-
Elena Stepanova authored
- mysql-test/unstable-tests list is created, it includes = tests identified as unstable by Debian; = tests which failed in buildbot on 10.0 over the last ~6 months and were not fixed; = tests which have been recently modified or newly added - '*' wildcard is now supported in skip lists
-
- 23 Aug, 2016 3 commits
-
-
Vicențiu Ciorbaru authored
Followup from 5.5 patch. Removing memory barriers on intel is wrong as this doesn't prevent the compiler and/or processor from reorganizing reads before the mutex release. Forcing a memory barrier before reading the waiters will guarantee that no speculative reading takes place.
-
Vicențiu Ciorbaru authored
In well defined C code, the "this" pointer is never NULL. Currently, we were potentially dereferencing a NULL pointer (master_info_index). GCC v6 removes any "if (!this)" conditions as it assumes this is always a non-null pointer. In order to prevent undefined behaviour, check the pointer before dereferencing and remove the check within member functions.
-
Monty authored
-
- 22 Aug, 2016 2 commits
-
-
Monty authored
- Remove impossible test in test_quick_select - Ensure that is_fatal_error is set if we run out of stack space
-
Monty authored
The issue was that when running with valgrind the wait for master_pos_Wait() was not long enough. This patch also fixes two other failures that could affect rpl_mdev6020: - check_if_conflicting_replication_locks() didn't properly check domains - 'did_mark_start_commit' was after signals to other threads was sent which could get the variable read too early.
-
- 21 Aug, 2016 3 commits
-
-
Monty authored
compiled for debugging, when the server goes down This happens in the following scenario: - Server gets a shutdown message - Servers sends error ER_CONNECTION_KILLED to the clients connection - The client sends a query to the server, before the server has time to close the connection to the client - Client reads the ER_CONNECTION_KILLED error message In the above case, the packet number for the reply is one less than what the client expected and the client prints "Packets out of order". Fixed the following way: - The client accepts now error packages with a packet number one less than expected. - To ensure that this issue can be detected early in my_real_read(), error messages sent to the client are not compressed, even when compressed protocol is used.
-
Monty authored
- Handler_read_retry - Update_scan - Delete_scan
-
Monty authored
- Fixed typos - Added --core-on-failure to mysql-test-run - More DBUG_PRINT in viosocket.c - Don't forget CLIENT_REMEMBER_OPTIONS for compressed slave protocol - Removed not used stage variables
-
- 16 Aug, 2016 1 commit
-
-
Oleksandr Byelkin authored
fix for async operations
-
- 15 Aug, 2016 1 commit
-
-
Oleksandr Byelkin authored
Fix tests which possibly fail connects in non_blocking mode.
-
- 14 Aug, 2016 1 commit
-
-
Sergei Golubchik authored
-
- 13 Aug, 2016 3 commits
-
-
Jan Lindström authored
-
Jan Lindström authored
When checking is any of the renamed columns part of the columns for new indexes we accessed NULL pointer if checked column used on index was added on same statement. Additionally, we tried to check too many indexes, added_index_count is enough here.
-
Jan Lindström authored
MDEV-10469: innodb.innodb-alter-tempfile fails in buildbot: InnoDB: Warning: database page corruption or a failed Test case intentionally crashes the server and that could lead partially written pages that are then restored from doublewrite buffer.
-
- 12 Aug, 2016 1 commit
-
-
Monty authored
(like DROP TABLE) has been scheduled before conflicting DDL's (like INSERT) are commited. What makes these bugs hard to detect is that in most cases any wrong schduling are caught by MDL locks. It's only when there are timing issues that the bugs (usually deadlocks) are noticed. This patch adds a DBUG_ASSERT() that detects, in parallel replication, if a DDL is scheduled before any depending DML'S are commited. It does this be checking if there are any conflicting replication locks when the DDL is about to wait for getting it's MDL lock. I also did some minor code cleanups in sql_base.cc to make this code similar to other related code.
-
- 11 Aug, 2016 1 commit
-
-
Oleksandr Byelkin authored
Support of CLIENT_REMEMBER_OPTIONS and freeing options added.
-
- 10 Aug, 2016 11 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
1.04.0008
-
Sergei Golubchik authored
5.6.31-77.0
-
Sergei Golubchik authored
5.6.31-77.0
-
Sergei Golubchik authored
5.6.32
-
Sergei Golubchik authored
5.6.32
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-