- 24 Jun, 2016 1 commit
-
-
Oleksandr Byelkin authored
thd should not be taken earlier then fix_field and reset on fix_fields if it is needed.
-
- 23 Jun, 2016 1 commit
-
-
Jan Lindström authored
Analysis: row_drop_table_for_mysql did not allow dropping referenced table even in case when actual creating of the referenced table was not successfull if foreign_key_checks=1. Fix: Allow dropping referenced table even if foreign_key_checks=1 if actual table create returned error.
-
- 20 Jun, 2016 3 commits
-
-
Sergei Golubchik authored
quote identifiers correctly
-
Sergei Golubchik authored
and MDEV-10250 InnoDB: Error: File (unknown): 'close' returned OS error 209. Cannot continue operation" after a failed connect() feedback plugin was continuing with the file descriptor, trying to send the data (which failed) and closing it at the end. Even though this fd might've been reused for something else already.
-
Sergey Vojtovich authored
shutdown) There was race condition between shutdown thread and event worker threads. Shutdown thread waits for thread_count to become 0 in close_connections(). It may happen so that event worker thread was started but didn't increment thread_count by this time. In this case shutdown thread may miss wait for this working thread and continue deinitialization. Worker thread in turn may continue execution and crash on deinitialized data. Fixed by incrementing thread_count before thread is actually created like it is done for connection threads. Also let event scheduler not to inc/dec running threads counter for symmetry with other "service" threads.
-
- 17 Jun, 2016 2 commits
-
-
Daniel Bartholomew authored
-
Vicențiu Ciorbaru authored
Fix the assertion failure by setting the struct to 0. This can not be done using a macro due to different definitions of mutexes on various OS-es. Afterwards we call toku_mutex_init and completely initialize the locks.
-
- 16 Jun, 2016 3 commits
-
-
Vicențiu Ciorbaru authored
We need to return TRUE if got_error == 1, not error, which is initialized to FALSE.
-
Vicențiu Ciorbaru authored
When running mysql-test-run without a parallel parameter, it might be impossible to find a free port.
-
Vicențiu Ciorbaru authored
Change variable declaration to be before any other statements.
-
- 14 Jun, 2016 17 commits
-
-
Vladislav Vaintroub authored
Fixed wrong calculation of buffer sizes. ulong datatype was used wrongly, as were the casts to ulong. Buffer sizes should be of type size_t, not ulong, or bad things happen on 64 bit Windows. This patch changes pagecache struct to use size_t/ssize_t where long/ulong were previously used. Also, removed several casts.
-
Vicențiu Ciorbaru authored
Structure initialization must feature all members present within the struct.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Both aria and myisam storage engines feature a logic path in thr_find_all_keys that leads to undefined behaviour by bypassing the initialization code of variables after my_thread_init(). By refactoring the nested logic into a separate function, this problem is resolved.
-
Vicențiu Ciorbaru authored
-
Daniel Black authored
Fix cppwarning of va_args being opened but not closed. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
Daniel Black authored
Fix a bug in testhash.c that caused an out of bounds memory access when command line parameters specified 0 records to be inserted in the hashtable. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
Daniel Black authored
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Sergei Golubchik authored
where $HOME is the empty string
-
Sergei Golubchik authored
don't test a cipher that was removed from recent openssl versions
-
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.
-