- 27 Sep, 2016 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 26 Sep, 2016 4 commits
-
-
Sergei Golubchik authored
fix PLUGIN_VAR_NOSYSVAR | PLUGIN_VAR_NOCMDOPT plugin thdvars to work. use that for server_audit_loc_info
-
Vladislav Vaintroub authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
my_offsetof() returns a difference of two pointers, it must use the appropriate return type (my_ptrdiff_t, not size_t)
-
- 24 Sep, 2016 1 commit
-
-
Kristian Nielsen authored
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
-
- 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 2 commits
-
-
Daniel Bartholomew authored
-
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.
-
- 12 Sep, 2016 4 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
it was supposed to be used in command-line tools only. Different fix for 4e547386: Bug#24388746: PRIVILEGE ESCALATION AND RACE CONDITION USING CREATE TABLE
-
Sergei Golubchik authored
different fix for a63a250d: BUG#23509275 :DBUG_PRINT in THD::decide_logging_format prints incorrectly, access out-of-bound
-
Sergei Golubchik authored
different fix for 07a33cdc: Bug #23296299 : HANDLE_FATAL_SIGNAL (SIG=11) IN MY_TOSORT_UTF32
-
- 11 Sep, 2016 2 commits
-
-
Sergei Golubchik authored
80% reverted
-
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.
-
- 02 Sep, 2016 1 commit
-
-
Oleksandr Byelkin authored
Correct context chain made to allow outer fields pullout.
-
- 29 Aug, 2016 1 commit
-
-
Sergei Golubchik authored
-
- 26 Aug, 2016 1 commit
-
-
Terje Rosten authored
Post push fix: Solaris 10 /bin/sh don't understand $().
-
- 25 Aug, 2016 5 commits
-
-
Daniel Bartholomew authored
-
Sivert Sorumgard authored
[This is the 5.5/5.6 version of the bugfix]. The problem was that it was possible to write log files ending in .ini/.cnf that later could be parsed as an options file. This made it possible for users to specify startup options without the permissions to do so. This patch fixes the problem by disallowing general query log and slow query log to be written to files ending in .ini and .cnf.
-
Jon Olav Hauglid authored
During REPAIR TABLE of a MyISAM table, a temporary data file (.TMD) is created. When repair finishes, this file is renamed to the original .MYD file. The problem was that during this rename, we copied the stats from the old file to the new file with chmod/chown. If a user managed to replace the temporary file before chmod/chown was executed, it was possible to get an arbitrary file with the privileges of the mysql user. This patch fixes the problem by not copying stats from the old file to the new file. This is not needed as the new file was created with the correct stats. This fix only changes server behavior - external utilities such as myisamchk still does chmod/chown. No test case provided since the problem involves synchronization with file system operations.
-
Terje Rosten authored
Argument to malloc-lib must be included in restricted list of directories, symlink guards added, and mysqld and mysqld-version options restricted to command line only. Don't redirect errors to stderr.
-
Monty authored
The issue was that in some extreme cases when doing GROUP BY, buffers for temporary blobs where not properly cleared.
-
- 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 2 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
-