- 05 Feb, 2015 3 commits
-
-
Sergey Vojtovich authored
fails in buildbot) There was a race condition in timer functionality of query timeouts. Race was as following: main thread: init_thr_timers() timer handler thread: my_thread_init() main thread: end_thr_timer()/timer_thread_state= ABORTING timer handler thread: timer_thread_state= RUNNING, continue normal op main thread: waits indefinitely for timer handler thread to go down The original idea of the fix is to set RUNNING state in main thread, before starting timer handler thread. But it didn't survive further cleanups: - removed "timer_thread_state" and used "thr_timer_inited" for this purpose - removed unused "timer_thread_running" - removed code responisble for "timer handler thread" shutdown synchronization, use pthread_join() instead.
-
Sergey Vojtovich authored
INFORMATION_SCHEMA.SYSTEM_VARIABLES.DEFAULT_VALUE had broken values on big endian. Default value is internally stored as longlong, while I_S references it's pointer (longlong *) according to variable type (e.g. int, my_bool, etc). This works well on little endian, but on big endian we always get 0 for such variables.
-
Jan Lindström authored
This is temporal test fixt to avoid concurrent IST for now until the actual issue https://github.com/codership/galera/issues/204 is fixed.
-
- 04 Feb, 2015 2 commits
-
-
Elena Stepanova authored
With commit 227510e0 (parser cleanup: don't store field properties in LEX, use Create_field directly) it became possible to create columns DOUBLE(0,0) and alike
-
Jan Lindström authored
Added options for each compression type that can be disabled i.e. bzip2, lz4, lzma and lzo.
-
- 03 Feb, 2015 2 commits
-
-
Sergei Golubchik authored
* reset current_thd in THD::~THD, otherwise my_malloc_size_cb_func() might access THD after it was destroyed. * remove now redundant set_current_thd(0) calls that follow delete thd.
-
Sergei Golubchik authored
This reverts commit 06c16904.
-
- 02 Feb, 2015 5 commits
-
-
Monty authored
-
Sergei Golubchik authored
* error reporting was never needed * avoid useless transformaton hton to db_type to hton * in many cases the engine was guaranteed to exist, add asserts * use ha_default_handlerton() instead of ha_checktype(DB_TYPE_DEFAULT)
-
Sergei Golubchik authored
but keep the code cleanup. as it turns out, it didn't change the behavior, which is good :)
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 01 Feb, 2015 5 commits
-
-
Monty authored
Now this works the same way as all other multi source variables.
-
Monty authored
Extend interface for 'show variables' with current scope
-
Monty authored
-
Monty authored
-
Sergei Golubchik authored
-
- 31 Jan, 2015 7 commits
-
-
Sergei Golubchik authored
in case args[0] changes between PREPARE and EXECUTE
-
Sergei Golubchik authored
in particular, not the one that destructively changes Item's charset (meaning different metadata for PREPARE and EXECUTE)
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
* fix the test to pass * rearrange tests in a file to allow it to auto-merge in the future
-
Sergei Golubchik authored
-
- 30 Jan, 2015 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
use the old registry branch, even if we changed the "manufacturer" string
-
- 29 Jan, 2015 6 commits
-
-
Oleksandr Byelkin authored
MDEV-7024: Assertion `! is_set()' failed in Diagnostics_area::set_eof_status on executing ANALYZE SELECT via PS select_send::is_result_interceptor() should return FALSE because it return results to the client.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
added a script to regenerate certificates easily in the future (2035!) restored server8k-key.pem to actually be 8K key, as it was supposed to
-
Oleksandr Byelkin authored
MDEV-7023: Error 2027: Malformed packet and assertion `field_types == 0 || field_types[field_pos] == MYSQL_TYPE_INT24 || field_types[field_pos] == MYSQL_TYPE_LONG' failure in Protocol_text::store_long The problem was that sp_head::MULTI_RESULTS was not set correctly for ANALYZE statement.
-
Sergei Golubchik authored
-
- 28 Jan, 2015 1 commit
-
-
unknown authored
Backport from mysql 5.7. The patch reviewed, test added.
-
- 27 Jan, 2015 1 commit
-
-
Jan Lindström authored
-
- 25 Jan, 2015 1 commit
-
-
Sergey Petrunya authored
Merged revision 5224 from mysql-5.6 and added a test case. .. revno: 5224 committer: Sergey Glukhov <sergey.glukhov@oracle.com> branch nick: mysql-5.6 timestamp: Wed 2013-06-19 14:24:08 +0400 message: Bug#16620047 INCORRECT QUERY RESULT (AFTER SERVER UPGRADE)
-
- 24 Jan, 2015 1 commit
-
-
Sergei Golubchik authored
-
- 29 Jan, 2015 2 commits
-
-
Michael Widenius authored
-
Michael Widenius authored
MDEV-6668: Server crashes in check_view_single_update on concurrent DDL/DML flow with views and triggers Call mysql_derived_reinit() if we are reusing view. This is needed as during a previous error condition the view may not have been reset sql/sql_derived.cc: More DBUG_PRINT Always reset merged_for_insert (no reason to not do that) sql/sql_derived.h: Added prototype sql/sql_insert.cc: More DBUG_PRINT Added DBUG_ASSERT sql/sql_view.cc: Call mysql_derived_reinit() if we are reusing view. This is needed as during a previous error condition the view may not have been reset sql/table.cc: More DBUG_PRINT
-
- 23 Jan, 2015 2 commits
-
-
Sergei Golubchik authored
-
Kristian Nielsen authored
After fix of MDEV-6728, the KILL signal is reset at the start of query execution. This means that in this test case, we need to wait for the to-be-killed query to have started; otherwise the kill signal can be lost, causing the test case to fail.
-