- 04 Dec, 2013 1 commit
-
-
unknown authored
Correct processing of view/derived with no tables added.
-
- 03 Dec, 2013 1 commit
-
-
Alexander Barkov authored
"Conditional jump or move depends on uninitialised" in Item_time_typecast::get_date. Adding "null_value" into the debug assert condition.
-
- 02 Dec, 2013 2 commits
-
-
Sergei Golubchik authored
-
Alexander Barkov authored
modified: mysql-test/r/func_time.result mysql-test/t/func_time.test sql-common/my_time.c sql/item_func.h sql/item_timefunc.cc sql/mysql_priv.h sql/time.cc
-
- 01 Dec, 2013 1 commit
-
-
Sergei Golubchik authored
-
- 29 Nov, 2013 1 commit
-
-
Sergei Golubchik authored
Fix ha_myisammrg::update_create_info() to do what ha_myisammrg::append_create_info() does - take sub-table names from TABLE_LIST, not reverse engineer tablefile names. Backport praveenkumar.hulakund@oracle.com-20120127081643-u7dxy23i8yyqarm7 from mysql-5.6
-
- 27 Nov, 2013 1 commit
-
-
Sergey Petrunya authored
- For INSERT ... SELECT ... ON DUPLICATE KEY UPDATE, table elimination should check which tables are referenced in the ON DUPLICATE KEY UPDATE clause.
-
- 25 Nov, 2013 1 commit
-
-
Igor Babaev authored
remove_eq_conds() in the function make_join_statistics().
-
- 22 Nov, 2013 2 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
-
- 21 Nov, 2013 2 commits
-
-
Igor Babaev authored
The earlier pushed fix for the bug was incomplete. It did not remove the main cause of the problem: the function remove_eq_conds() removed always true multiple equalities from any conjunct, but did not adjust the list of them stored in Item_cond_and::cond_equal.current_level. Simplified the test case for the bug and moved it to another test file. The fix triggered changes in EXPLAIN EXTENDED for some queries.
-
Alexander Barkov authored
Fixed.
-
- 14 Nov, 2013 4 commits
-
-
Igor Babaev authored
This bug was a consequence of the incorrect fix for bug mdev-5091.
-
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.
-
- 13 Nov, 2013 7 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.
-
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
-
- 12 Nov, 2013 1 commit
-
-
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.
-
- 11 Nov, 2013 2 commits
-
-
unknown authored
MDEV-5153: Server crashes in Item_ref::fix_fields on 2nd execution of PS with LEFT JOIN and MERGE view or SELECT SQ 1. Transformation of row IN subquery made the same as single value. 2. replace_where_subcondition() made working on several layers of OR/AND because it called on expression before fix_fields().
-
unknown authored
Singular Item_equal support added. The problem was that during constant table substitution Item_equal become containing only one constant which was not supported internally.
-
- 08 Nov, 2013 4 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
The loop in the binary search in remove_status_vars() was incorrectly implemented and could continue infinitely in some cases. Rewrote the binary search code.
-
Alexander Barkov authored
-
- 29 Oct, 2013 2 commits
-
-
unknown authored
There was 2 problems: 1) coping/moving of the same type (usually casting) as sizeof() (solved in different ways depends on the cause); 2) using 'const' in SSL_CTX::getVerifyCallback() which return object (not reference) and so copy of the object will be created and 'const' has no sens.
-
timour@askmonty.org authored
Analysis: st_select_lex_unit::prepare() computes can_skip_order_by as TRUE. As a result join->prepare() gets called with order == NULL, and doesn't do name resolution for the inner ORDER clause. Due to this the prepare phase doesn't detect that the query references non-exiting function and field. Later join->optimize() calls update_used_tables() for a non-resolved Item_field, which understandably has no Field object. This call results in a crash. Solution: Resolve unnecessary ORDER BY clauses to detect if they reference non-exising objects. Then remove such clauses from the JOIN object.
-
- 21 Oct, 2013 4 commits
-
-
unknown authored
MDEV-5143: update of a joined table with a nested subquery with a syntax error crashes mysqld with signal 11 Added check of SELECT_LEX::handle_derived() result.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
- 16 Oct, 2013 4 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-