- 13 Oct, 2016 6 commits
-
-
Sergei Golubchik authored
don't let identifiers with new lines to break a comment
-
Sergei Golubchik authored
pass them through as is
-
Sergei Golubchik authored
* use proper sql quoting rules for USE, while preserving as much of historical behavior as possible * short commands (\u) behave as before
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 29 Sep, 2016 1 commit
-
-
Sergei Golubchik authored
when they're not needed anymore. Helps when daemonizing it from mysql.init
-
- 28 Sep, 2016 3 commits
-
-
Robert Golebiowski authored
-
Arun Kuruvila authored
RESTRICTED IN ALL GA RELEASES Back port of WL#6782 to 5.5 and 5.6. This also includes back port of Bug#20771331, Bug#20741572 and Bug#20770671. Bug#24695274 and Bug#24679907 are also handled along with this.
-
Vladislav Vaintroub authored
Also add fallback version string for unknown future versions.
-
- 27 Sep, 2016 1 commit
-
-
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)
-
- 26 Sep, 2016 5 commits
-
-
Nawaz Nazeer Ahamed authored
-
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>
-
- 13 Sep, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 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 1 commit
-
-
Sergei Golubchik authored
80% reverted
-
- 02 Sep, 2016 1 commit
-
-
Oleksandr Byelkin authored
Correct context chain made to allow outer fields pullout.
-
- 26 Aug, 2016 1 commit
-
-
Terje Rosten authored
Post push fix: Solaris 10 /bin/sh don't understand $().
-
- 25 Aug, 2016 4 commits
-
-
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.
-
- 19 Aug, 2016 1 commit
-
-
Vladislav Vaintroub authored
Windows packaging : use /d switch to sign MSI, to prevent installer showing randomly generated name in UAC prompt
-
- 17 Aug, 2016 1 commit
-
-
Sergey Vojtovich authored
Reexecution of prepared "ANALYZE TABLE merge_table, table" may miss to reinitialize "table" for subsequent execution and trigger assertion failure. This happens because MERGE engine may adjust table->next_global chain, which gets cleared by close_thread_tables()/ha_myisammrg::detach_children() later. Since reinitilization iterates next_global chain, it won't see tables following merge table. Fixed by appending saved next_global chain after merge children.
-
- 11 Aug, 2016 1 commit
-
-
Vladislav Vaintroub authored
"C:\Program Files (x86)" directory needs to be checked as well in this case.
-
- 10 Aug, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 09 Aug, 2016 2 commits
-
-
Vicențiu Ciorbaru authored
Fix memory barrier issues on releasing mutexes. We must have a full memory barrier between releasing a mutex lock and reading its waiters. This prevents us from missing to release waiters due to reading the number of waiters speculatively before releasing the lock. If threads try and wait between us reading the waiters count and releasing the lock, those threads might stall indefinitely. Also, we must use proper ACQUIRE/RELEASE semantics for atomic operations, not ACQUIRE/ACQUIRE.
-
Sergei Golubchik authored
Windows!
-
- 08 Aug, 2016 5 commits
-
-
Sergei Golubchik authored
a correct fix: * store properly quoted table names in tables4repair/etc lists * tell handle_request_for_tables whether the name is aalready properly quoted * test cases for all uses of fix_table_name()
-
Sergei Golubchik authored
followup
-
Vicențiu Ciorbaru authored
tmp_join may get its tables freed twice during JOIN cleanup. Set them to NULL when the tmp_join is different than the current join.
-
Alexander Barkov authored
-
Alexander Barkov authored
MDEV-10500 CASE/IF Statement returns multiple values and shifts further result values to the next column We assume all around the code that null_value==true is in sync with NULL value returned by val_str()/val_decimal(). Item_sum_sum::val_decimal() erroneously returned a non-NULL value together with null_value set to true. Fixing to return NULL instead.
-