- 21 Nov, 2013 4 commits
-
-
Sergey Petrunya authored
-
Alexander Barkov authored
-
Alexander Barkov authored
Fixed.
-
Sergey Petrunya authored
- Don't pull out a table out of a semi-join if it is on the inner side of an outer join. - Make join->sort_by_table= get_sort_by_table(...) call after const table detection is done. That way, the value of join->sort_by_table will match the actual execution. Which will allow the code in setup_semijoin_dups_elimination() (search for "Make sure that possible sorting of rows from the head table is not to be employed." to see that "Using filesort" is going to be used together with Duplicate Elimination ( and change it to Using temporary + Using filesort)
-
- 18 Nov, 2013 1 commit
-
-
Sergey Vojtovich authored
-DINSTALL_SYSCONFDIR/-DDEFAULT_SYSCONFDIR specified The reason for a bug is in support-files/CMakeLists.txt that tries to install files in INSTALL_SYSCONF2DIR, without checking whether this variable is actually defined. Normally INSTALL_SYSCONF2DIR is always defined if INSTALL_SYSCONFDIR is defined, and support-files/CMakeLists.txt assumes that. But when one specifies INSTALL_SYSCONFDIR manually on the command line, this assumption might be broken.
-
- 20 Nov, 2013 1 commit
-
-
Sergei Golubchik authored
-
- 19 Nov, 2013 6 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
(some patches reverted, test case added)
-
Sergei Golubchik authored
sort xtradb status variables
-
Sergey Petrunya authored
MDEV-5069: Server crashes in SEL_ARG::increment_use_count with index_merge+index_merge_sort_union, FORCE INDEX - Don't call incr_refs() is the merged SEL_ARG* is NULL.
-
- 18 Nov, 2013 1 commit
-
-
Sergey Petrunya authored
- make_join_readinfo() has the code that forces use of "Using temporary; Using filesort" when join buffering is in use. That code didn't handle all cases, in particular it didn't hande the case where ORDER BY originally has tables from multiple columns, but the optimizer eventually figures out that doing filesort() on one table will be sufficient. Adjusted the code to handle that case.
-
- 15 Nov, 2013 3 commits
-
-
Jan Lindström authored
Added test case for new system variable innodb_use_stacktrace and made sure that it can be used only on startup. Fixed compiler problems on solaris and other platforms that do not contain necessary headers and functions.
-
Jan Lindström authored
MDEV-5247: DB locked up at btr0cur.c line 568. Additional fixes to inconsistent usage of have_LRU_mutex and added additional debug assertions to guard incorrect usage of this mutex. Fixes issues found on additional testing and mysql test suite.
-
Sergei Golubchik authored
-
- 14 Nov, 2013 8 commits
-
-
Igor Babaev authored
This bug was a consequence of the incorrect fix for bug mdev-5091.
-
Jan Lindström authored
-
Jan Lindström authored
Fix compiler error introduced on revision 3937, make sure that stackdump is compiled only on __linux__.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
mysql_tzinfo_to_sql is not compiled under Windows in the pre-5.5 versions. Do not set the MYSQL_TZINFO_TO_SQL variable in the version prior to 5.5 under Windows.
-
Jan Lindström authored
MDEV-5247: DB locked up at btr0cur.c line 568. There is inconsistent and non logical usage of have_LRU_mutex and incorrect value on ha_innodb.cc when buf_LRU_free_block is called. Additionally, for future long semaphore wait cases added a new configuration variable innodb_use_stacktrace. If this variable is true a signal handler for SIGUSR2 is installed when InnoDB server starts and when a long semaphore wait is detected at sync/sync0array.c we send SIGUSR2 signal to waiting thread and thread that has acuired RW-latch. For both threads a full stacktrace is produced as well as its is possible.
-
- 13 Nov, 2013 13 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
The function SELECT_LEX::update_used_tables should process all ORDER BY lists in any subselect of a union.
-
Elena Stepanova authored
-
Elena Stepanova authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
Allow only one level of symlink recursion in mysql_tzdata_to_sql, to avoid infinite loops.
-
unknown authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergey Petrunya authored
-
Sergey Petrunya authored
Apply fix suggested by Igor: - When eliminate_item_equal() generates pair-wise equalities from a multi-equality, do generate a "bridge" equality between the first field inside SJM nest and the field that's first in the overall multi-equality.
-
- 12 Nov, 2013 2 commits
-
-
Sergei Golubchik authored
MDEV-5113 Wrong result (extra row) and valgrind warnings in Item_maxmin_subselect::any_value on 2nd execution of PS with SELECT subquery When setting Item_func_not_all::test_sum_item or Item_func_not_all::test_sub_item, reset the other one to NULL - they can never be set both. When a PS is reexecuted, different executions might be optimized differently and a wrong test_su*_item might stay set from the previous execution.
-
Sergey Petrunya authored
- MIN/MAX optimizer does a check whether a "field CMP const" comparison uses a constant that's longer than the field it is compared to. Make this check only for string columns, also compare character lengths, not byte lengths.
-
- 11 Nov, 2013 1 commit
-
-
Elena Stepanova authored
-