- 31 Jul, 2014 2 commits
-
-
Michael Widenius authored
-
unknown authored
mysql_derived_prepare() was executed on the statement memory. Now it is executed on the runtime memory. All bugs induced by this were fixed.
-
- 30 Jul, 2014 2 commits
-
-
Michael Widenius authored
Fix for MDEV-6493: Assertion `table->file->stats.records > 0 || error' failure, or 'Invalid write' valgrind warnings, or crash on scenario with Aria table, view, LOCK TABLES This bug only happens in case of paritioned tables used in LOCK TABLES and implicit_commit() was called (as part of trying to execute a CREATE TABLE withing lock tables) The problem was that Aria could not move the tables from one transaction to the new one, as thd->open_tables contained a partitioned tables and not an Aria table. Fix: - Store a list of all open tables that are part of a share in share->open_tables - In maria::implict_commit() use transaction->used_tables & share->open_tables to find out which tables was part of the current transaction instead of using thd->open_tables, which may contain partitioned tables. mysql-test/suite/maria/maria_partition.result: Added test case mysql-test/suite/maria/maria_partition.test: Added test case storage/maria/ha_maria.cc: Use trn->used tables and share->open_tables to find out which tables was part of the current transaction instead of using thd->open_tables. storage/maria/ma_close.c: Remove closed table from share->open_list storage/maria/ma_open.c: Add table to share->open_list storage/maria/ma_state.c: Added comment storage/maria/maria_def.h: Added share->open_list, a list of all tables that is using this share.
-
Michael Widenius authored
-
- 29 Jul, 2014 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
* remove incorrect assertion (it didn't take into account concurrent clients) * fix the comment
-
Sergei Golubchik authored
Free the trx of the current thd (if any) in innobase_end()
-
- 28 Jul, 2014 3 commits
-
-
Elena Stepanova authored
- adjusted a test result according to the change made for MDEV-6100; - added explicit timezone for engines/iuds, since MTR in MariaDB does not set it like MySQL's, and tests with constant TIMESTAMP can have different outcome
-
Alexander Barkov authored
-
Sergei Golubchik authored
-
- 27 Jul, 2014 1 commit
-
-
Sergei Golubchik authored
MDEV-6082 Assertion `0' fails in TC_LOG_DUMMY::log_and_order on DML after installing TokuDB at runtime on server with disabled InnoDB We don't support changing tc_log implementation at run time. If the first XA-capable engine is loaded with INSTALL PLUGIN - disable its XA capabilities with a warning
-
- 26 Jul, 2014 1 commit
-
-
Sergei Golubchik authored
abort the wait loop if mysqld_safe is not running
-
- 27 Jul, 2014 1 commit
-
-
Jan Lindström authored
-
- 26 Jul, 2014 1 commit
-
-
Jan Lindström authored
InnoDB: Failing assertion: mutex_own(&buf_pool->LRU_list_mutex) and InnoDB: Assertion failure in thread 2868898624 in file buf0lru.c line 1077 InnoDB: Failing assertion: mutex_own(&buf_pool->LRU_list_mutex) Analysis: Function buf_LRU_free_block might release LRU_list_mutex on same cases to avoid mutex order problems, we need to take it back before accessing list.
-
- 25 Jul, 2014 1 commit
-
-
Sergei Golubchik authored
backport from 10.0 the fix for: MDEV-5756 CMake option to build without thread pool
-
- 24 Jul, 2014 1 commit
-
-
Sergei Golubchik authored
-
- 23 Jul, 2014 2 commits
-
-
Sergei Golubchik authored
issue an error for unrecognized options in the [mysqld_safe] section of my.cnf but don't abort the script
-
Sergei Golubchik authored
fix by Sriram Patil
-
- 25 Jul, 2014 1 commit
-
-
Jan Lindström authored
IBUF_DUMMY table.
-
- 24 Jul, 2014 1 commit
-
-
Jan Lindström authored
compression failures on insert buffer.
-
- 23 Jul, 2014 5 commits
-
-
Sergey Petrunya authored
MySQL Bug#71095: Wrong results with PARTITION BY LIST COLUMNS() MySQL Bug#72803: Wrong "Impossible where" with LIST partitioning MDEV-6240: Wrong "Impossible where" with LIST partitioning - Backprot the fix from MySQL Bug#71095.
-
Sergey Petrunya authored
- When traversing JOIN_TABs with first_linear_tab/next_linear_tab(), don't forget to enter the semi-join nest when it is the first table in the join order. Failure to do so could cause e.g. I_S tables not to be filled.
-
Alexander Barkov authored
-
Jan Lindström authored
-
Alexander Barkov authored
Item_func_min_max::get_date() did not clear ltime->year when returning a TIME value.
-
- 24 Jun, 2014 1 commit
-
-
Sergey Vojtovich authored
server initialization ER() macro was used during server initialization. It refers to current_thd, which is not available that early. Print error to error log in "lc-messages" locale. Avoid duplicate error message during server initialization.
-
- 17 Jun, 2014 1 commit
-
-
Sergey Vojtovich authored
mysqld didn't fail to start if a compiled-in plugin failed to initialize (--xxx=FORCE behaving as --xxx=ON)
-
- 23 Jul, 2014 1 commit
-
-
Jan Lindström authored
Improve long semaphore wait output to include all semaphore waits and try to find out if there is a sequence of waiters.
-
- 22 Jul, 2014 3 commits
-
-
Jan Lindström authored
Add more status information if repeatable.
-
Sergey Petrunya authored
- Part #2. Fix obvious problems in the previous patch.
-
Sergey Petrunya authored
- Filesort has an optmization where it reads only columns that are needed before the sorting is done. - When ref(_or_null) is picked by the join optimizer, it may remove parts of WHERE clause that are guaranteed to be true. - However, if we use quick select, we must put all of the range columns into the read set. Not doing so will may cause us to fail to detect the end of the range.
-
- 15 Jul, 2014 1 commit
-
-
unknown authored
-
- 08 Jul, 2014 1 commit
-
-
Jan Lindström authored
Analysis: sync array output function, should make sure that all used pointers are valid before using them.
-
- 04 Jul, 2014 3 commits
-
-
Jan Lindström authored
This is not a real fix, instead try to gather additional information at the point when dictionary content is not what we expect it to be.
-
Jan Lindström authored
and gap locks
-
Jan Lindström authored
than with InnoDB plugin Fix: os0file.h in XtraDB had OS_AIO_N_PENDING_IOS_PER_THREAD 256 when on InnoDB it is OS_AIO_N_PENDING_IOS_PER_THREAD 32. Changed XtraDB also to use 32.
-
- 30 Jun, 2014 1 commit
-
-
Jan Lindström authored
Analysis: Based on crashed the buffer pool instance identifier is not correct on block to be freed. Add LRU list mutex holding on functions calling free and add additional safety checks.
-
- 18 Jun, 2014 1 commit
-
-
Sergei Golubchik authored
-
- 17 Jun, 2014 2 commits
-
-
unknown authored
That particular part of slave connect to master was missing code to handle retry in case of network errors. The same problem is present in MySQL 5.5, but fixed in MySQL 5.6. Fixed with this patch, by adding the code (mostly identical to MySQL 5.6), and also adding a test case. I checked other queries done towards master during slave connect, and they now all seem to handle reconnect in case of network failures.
-
unknown authored
Fix an error case where success was returned instead of error.
-