- 14 Oct, 2016 2 commits
-
-
Elena Stepanova authored
-
Elena Stepanova authored
-
- 29 Sep, 2016 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
when they're not needed anymore. Helps when daemonizing it from mysql.init
-
- 28 Sep, 2016 3 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
(Fixing both InnoDB and XtraDB) Re-opening a TABLE object (after e.g. FLUSH TABLES or open table cache eviction) causes ha_innobase to call dict_stats_update(DICT_STATS_FETCH_ONLY_IF_NOT_IN_MEMORY). Inside this call, the following is done: dict_stats_empty_table(table); dict_stats_copy(table, t); On the other hand, commands like UPDATE make this call to get the "rows in table" statistics in table->stats.records: ha_innobase->info(HA_STATUS_VARIABLE|HA_STATUS_NO_LOCK) note the HA_STATUS_NO_LOCK parameter. It means, no locks are taken by ::info() If the ::info() call happens between dict_stats_empty_table and dict_stats_copy calls, the UPDATE's optimizer will get an estimate of table->stats.records=1, which causes it to pick a full table scan, which in turn will take a lot of row locks and cause other bad consequences.
-
Vladislav Vaintroub authored
Also add fallback version string for unknown future versions.
-
- 27 Sep, 2016 10 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Vladislav Vaintroub authored
Ensure atomic appends to the error log by using CreateFile with FILE_APPEND_DATA flag to open error log file (both MTR and server)
-
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
-