- 25 Oct, 2016 2 commits
-
-
Vladislav Vaintroub authored
- don't use stat() for file size, it doesn not handle large size use GetFileSizeEx() instead - don't use lseek(), it can't handle large files, use _lseeki64() instead. - Also, switch off OS file buffering for innochecksum on Windows, to avoid thrashing file cache.
-
Don Lewis authored
Clang/LLVM has more strict schemantics than gcc. This patch quantifies the namesspace such that it will compile using clang.
-
- 23 Oct, 2016 1 commit
-
-
Elena Stepanova authored
-
- 22 Oct, 2016 1 commit
-
-
Vladislav Vaintroub authored
Prior to this patch name of the user was read from environment variable USER, with a fallback to 'ODBC', if the environment variable is not set. The name of the env.variable is incorrect (USERNAME usually contains current user's name, but not USER), which made client to always determine current user as 'ODBC'. The fix is to use GetUserName() instead.
-
- 21 Oct, 2016 3 commits
-
-
Kristian Nielsen authored
From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838914 Fixes CMake so that when building a 32-bit mips binary on a 64-bit mips machine, the target is not set as 32-bit, which apparently confused some tests in mroonga.
-
Kristian Nielsen authored
The patch fixes 128-bit multiply on mips64. This corrects a previous incorrect patch upstreamed from Debian.
-
Kristian Nielsen authored
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838557 MIPS has a different errno for "directory not empty".
-
- 18 Oct, 2016 1 commit
-
-
Vladislav Vaintroub authored
Fix PSI idle and socket instrumentation in threadpool
-
- 16 Oct, 2016 1 commit
-
-
Elena Stepanova authored
OpenSSL problems, part II
-
- 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 3 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
-