- 28 May, 2011 1 commit
-
-
Sergey Petrunya authored
way of processing prepared statements: - conversion subquery_predicate -> TABLE_LIST is once per-statement - However, the code must take into account that materialized temptable is dropped and re-created on each execution (the tricky part is that at start of n-th EXECUTE we have TABLE_LIST object but not its TABLE object) - IN-equality is injected into WHERE on every execution.
-
- 26 May, 2011 2 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
-
- 25 May, 2011 1 commit
-
-
Sergey Petrunya authored
-
- 11 May, 2011 3 commits
-
-
Sergey Petrunya authored
-
unknown authored
-
unknown authored
The problem was that connection con5, which is supposed to be the leader for the third group, could if timing was bad end up as participant in the second group, causing the test to fail. Fixed by ensuring that group 2 is running before starting the transaction for group 3.
-
- 10 May, 2011 4 commits
-
-
Sergey Petrunya authored
- In eliminate_item_equal(), we could end up in a situation where: = The multiple equality has a constant C1 (and so it is the "head item") = The join order was such that we've generated "sj_inner_table1=C1" equality, and now are looking to generate "sj_inner_table2_=..." equality. When looking for what should be the other member of equality, we run Item *head_item= current_sjm? current_sjm_head: head; which sees current_sjm!=NULL, and takes current_sjm_head (which is NULL because the constant C1 is the head for all cases). - Fixed in a trivial way: take current_sjm_head if we don't have constant.
-
unknown authored
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- Handle the case of degenerate joins. When join has impossible WHERE clause, a number of its members, including JOIN::map2table, are not initialized. Do not try accessing them, detect degenerate joins early.
-
- 09 May, 2011 5 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- Fix trivial bugs in post-GROUP-BY output cardinality calculations - Add testcases
-
Sergey Petrunya authored
check for outer joins (and not for any "t1 SOME_JOIN t2 ON cond" syntax).
-
Sergey Petrunya authored
- Take into account that grouping or aggregates decrease join output cardinality. (First code, can't make use of index statistics yet)
-
- 08 May, 2011 1 commit
-
-
Michael Widenius authored
-
- 07 May, 2011 1 commit
-
-
unknown authored
-
- 05 May, 2011 4 commits
-
-
unknown authored
MWL#180: Merge bugfix from 5.2 to 5.3 codebase + really fix version from which mariadb supports binlog checksums.
-
unknown authored
-
unknown authored
Analysis: The method st_select_lex::optimize_unflattened_subqueries() incorrectly propagated to each subquery the complete select_options flag set for the whole query. Among other flags in select_options, this propagated incorrectly the STRAIGHT_JOIN flag from the upper query to the subquery. Solution: During EXPLAIN set only the SELECT_DESCRIBE bit in the select_options of the subquery.
-
Igor Babaev authored
If the value of the flag cond_false of an Item_equal object is true then the print method must return the string '0'.
-
- 04 May, 2011 8 commits
-
-
unknown authored
Adjusted test results after merge.
-
unknown authored
Merge with main 5.3
-
Igor Babaev authored
The third parameter in the call of make_cond_for_table() that built the pushed condition containing only outer references was incorrect. This condition appeared for the first time in the patch fixing bug 729039.
-
unknown authored
MWL#180: merge fixes from 5.2-rpl + forgot to adjust revision from which checksums are supported when merging into 5.3-based tree.
-
unknown authored
- Fix windows CMake build. - Merge some later test case fixes, to see if they solve the random rpl_checksum failure.
-
unknown authored
Pushing test case only. The bug itself was fixed by the combined patches for LP BUG#717577 and LP BUG#776274.
-
unknown authored
-
Igor Babaev authored
The bug was introduced by the patch that fixed bug 717577.
-
- 03 May, 2011 2 commits
- 02 May, 2011 3 commits
-
-
unknown authored
Merge with 5.3
-
Vladislav Vaintroub authored
presumably neither TMP nor TEMP environment variable are set.
-
Michael Widenius authored
Fixed test failure mysql-test/suite/funcs_1/t/storedproc.test: Fixed test failure (The error changed as syntax for alter changed with ALTER ONLINE) storage/maria/ha_maria.cc: fixed compiler warning
-
- 30 Apr, 2011 4 commits
-
-
Sergey Petrunya authored
- Debug build: make DBUG_ASSERT statements really look at the first table One can't expect cursors to work with semi-join subqueries anyway, though (which isn't a problem because cursors are not used anywhere)
-
Sergey Petrunya authored
-
Igor Babaev authored
-
Sergey Petrunya authored
-
- 28 Apr, 2011 1 commit
-
-
Michael Widenius authored
Added ALTER ONLINE TABLE, which will give an error if the change can't be done 'instantly' (without a table copy) mysql-test/r/alter_table_online.result: Test new feature mysql-test/t/alter_table_online.test: Test new feature sql/handler.cc: Added comment sql/lex.h: Added ONLINE keyword sql/mysql_priv.h: Added option to alter table to require online operation sql/share/errmsg.txt: Added error message if ONLINE can't be done sql/sql_lex.h: Added online option sql/sql_parse.cc: Added online option to mysql_alter_table() sql/sql_table.cc: Added test that gives error if table can't be done instantly when requsted to be online. Fixed wrong test if table includes a VARCHAR Fixed wrong (but unlikely) handling of error conditions in ALTER table sql/sql_yacc.yy: Added ALTER ONLINE TABLE syntax storage/maria/ha_maria.cc: Fixed bug where 'start_bulk_insert' used too small buffer if used with unknown number of rows
-