- 14 Jun, 2016 7 commits
-
-
Sergei Golubchik authored
fix the lexer to backtrack when parsing "<=", "<>", "!=", ">=", "<<", ">>", "<=>".
-
Sergei Golubchik authored
backport of commit bba3d42a Author: Sergei Golubchik <serg@mariadb.org> Date: Sat Apr 30 10:27:42 2016 +0200 MDEV-9926 probes_mysql.h includes nonexisting files install private generated files
-
Sergei Golubchik authored
-
Sergei Golubchik authored
1. to work for OpenSSL 2. to work when $HOME can match in the middle of $MYSQL_TEST_DIR
-
Sergei Golubchik authored
-
Sergey Vojtovich authored
SHOW PROCESSLIST output can be affected by not completed concurrent KILL QUERY. Filter out more column values to make output stable.
-
Sergei Golubchik authored
-
- 13 Jun, 2016 2 commits
-
-
Sergey Vojtovich authored
bytes are possibly lost Restored suppressions removed by MDEV-9994: they're needed for detached threads.
-
Sergey Vojtovich authored
bytes are possibly lost Timer thread of threadpool is created "joinable", but they're not "joined" on completion. This causes memory leaks around thread local storage. Fixed by joining timer thread.
-
- 12 Jun, 2016 3 commits
-
-
Dan Ungureanu authored
`--help` is a perfectly valid parameter and both `mysqladmin` and `mysql_waitpid` should exit with success (zero errror code). Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
Vicențiu Ciorbaru authored
Make mysql_waitpid return exit code 0 when -V flag is supplied.
-
Elena Stepanova authored
The combination of --remove_file and --write_file on .expect file creates a race condition which can be hit by MTR which reads the file in a loop. Instead, .expect file should be changed with --append_file. It was fixed in 10.x, but in 5.5 the sporadic failure still affected buildbot. Fixed 3 test files which use the problematic combination
-
- 10 Jun, 2016 3 commits
-
-
Sergey Vojtovich authored
Aria service threads are created "joinable", but they're not "joined" on completion. This causes memory leaks around thread local storage. Fixed by joining service thread. Simplified relevant code and cleaned up relevant valgrind suppressions.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
- 08 Jun, 2016 5 commits
-
-
Vladislav Vaintroub authored
Fix test whether process is alive in mysqltest. Also fix SHUT_RD definition on Windows to be SD_RECEIVE. SD_BOTH was used instead prior to this patch, and this would occasionally make mysql_shutdown() fail - when the socket for the current connection is not able send the COM_SHUTDOWN response anymore.
-
Alexander Barkov authored
-
Kristian Nielsen authored
-
Kristian Nielsen authored
The check inserts a DWARF directive to tell stack unwinding that the bottom of the (co-routine) stack has been reached. Without this, stack traces may attempt to continue past the bottom of the stack. The GCC version check was incorrect, and failed to trigger for GCC version 5.[0123].
-
Jan Lindström authored
Use direct persistent index corruption set on InnoDB dictionary for this test. Do not allow creating new indexes if one of the existing indexes is already marked as corrupted.
-
- 24 May, 2016 5 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
- 16 May, 2016 2 commits
-
-
Sujatha Sivakumar authored
Revert following bug fix: Bug#20685029: SLAVE IO THREAD SHOULD STOP WHEN DISK IS FULL Bug#21753696: MAKE SHOW SLAVE STATUS NON BLOCKING IF IO THREAD WAITS FOR DISK SPACE This fix results in a deadlock between slave IO thread and SQL thread. (cherry picked from commit e3fea6c6dbb36c6ab21c4ab777224560e9608b53)
-
Shishir Jaiswal authored
DESCRIPTION =========== Buffer overflow is reported in a lot of code sections spanning across server, client programs, Regex libraries etc. If not handled appropriately, they can cause abnormal behaviour. ANALYSIS ======== The reported casea are the ones which are likely to result in SEGFAULT, MEMORY LEAK etc. FIX === - sprintf() has been replaced by my_snprintf() to avoid buffer overflow. - my_free() is done after checking if the pointer isn't NULL already and setting it to NULL thereafter at few places. - Buffer is ensured to be large enough to hold the data. - 'unsigned int' (aka 'uint') is replaced with 'size_t' to avoid wraparound. - Memory is freed (if not done so) after its alloced and used. - Inserted assert() for size check in InnoDb memcached code (from 5.6 onwards) - Other minor changes (cherry picked from commit 3487e20959c940cbd24429afa795ebfc8a01e94f)
-
- 10 May, 2016 1 commit
-
-
Alexander Barkov authored
-
- 29 Apr, 2016 1 commit
-
-
Harin Vadodaria authored
Post push fix : Fixing i_main.mysqlshow failure.
-
- 27 Apr, 2016 1 commit
-
-
Vladislav Vaintroub authored
This appears to break some installation, and it did not do anything useful anyway.
-
- 26 Apr, 2016 3 commits
-
-
Sergey Vojtovich authored
Fixed memory leaks in gen_lex_hash.
-
Sergei Golubchik authored
take into account that agg_arg_charsets_for_comparison() can replace Item_field's with Item_func_conv_charset
-
Sergei Golubchik authored
-
- 25 Apr, 2016 2 commits
-
-
Sergei Golubchik authored
restore the error message that was removed by mistake in ec38c1bb
-
Sergei Golubchik authored
Backport a part of commit 439f75f8 Author: Kristian Nielsen <knielsen@knielsen-hq.org> Date: Mon Jun 30 13:59:21 2014 +0200 Fix test failures in rpl.rpl_checksum and rpl.rpl_gtid_errorlog.
-
- 24 Apr, 2016 1 commit
-
-
Sergey Vojtovich authored
Fixed wait condition to wait for InnoDB to actually acquire row locks instead of waiting for thread to enter "Searching rows for update" state (which happens earlier). Also use default wait timeout, 2 seconds can be too few for threads to enter appropriate state.
-
- 23 Apr, 2016 2 commits
-
-
Jan Lindström authored
results in ERROR 1046 (3D000) at line 13: No database selected. Use database from create table to foreign key database if nothing else is given.
-
Sergey Vojtovich authored
-
- 22 Apr, 2016 2 commits
-
-
Sergey Vojtovich authored
Added proper waiting for thread to enter required state. Also reduced amount of information dumped from processlist.
-
Daniel Bartholomew authored
-