- 06 Sep, 2013 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
The fix for bug mdev-4971 not always correctly set the pointers to inherited multiple equalities in objects of the Item_equal class.
-
Sergey Vojtovich authored
ORDER BY does not work Use "dynamic" row format (instead of "block") for MARIA internal temporary tables created for cursors. With "block" row format MARIA may shuffle rows, with "dynamic" row format records are inserted sequentially (there are no gaps in data file while we fill temporary tables). This is needed to preserve row order when scanning materialized cursors.
-
- 03 Sep, 2013 2 commits
-
-
Vladislav Vaintroub authored
If rpl_semi_sync_master_timeout is large, calculation of absolute waiting time in semi-sync plugin is inefficient. This error is specific to systems with 64 bit long values (all 64 bit Unixes) In rpl_semi_sync_master_timeout has maximal value (= MAX_ULONGLONG), calculating abstime may require ~ 18 billion subtract operations. The fix is to use division instead of subtraction-in-a-loop. Also fixed an integer overflow bug.
-
Sergey Petrunya authored
-
- 31 Aug, 2013 2 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
-
- 30 Aug, 2013 2 commits
-
-
Sergey Vojtovich authored
- YYPARSE_PARAM and YYLEX_PARAM are removed in Bison 3.0. Deprecated since Bison 1.875 in favor of %lex-param, %parse-param. - %parse-param adds an argument to yyerror() as well, updated MYSQLerror() accordingly. - %parse-param allows to declare proper type for argument. That's what 99% of this patch is about.
-
Igor Babaev authored
The function propagate_new_equalities() did not updated properly the references to inherited multiple equalities.
-
- 29 Aug, 2013 2 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
When a non-nullable datetime field is used under an IS NULL predicate of the WHERE condition in a query with outer joins the remove_eq_conds function should check whether this field belongs to an inner table of any outer join that can be, in a general case, a nested outer join.
-
- 28 Aug, 2013 6 commits
-
-
Sergei Golubchik authored
for dynamic engines (because it only looked at the one-byte code, not at the full engine name).
-
Sergei Golubchik authored
that requires MDL_SHARED_NO_READ_WRITE.
-
Sergey Petrunya authored
-
Sergey Petrunya authored
-
Igor Babaev authored
The fix for mdev-4420 was not quite correct. This patch corrects it.
-
Igor Babaev authored
-
- 27 Aug, 2013 1 commit
-
-
Michael Widenius authored
mysql-test/suite/rpl/r/last_insert_id.result: Test case for last_insert_id mysql-test/suite/rpl/t/last_insert_id.cnf: Test case for last_insert_id mysql-test/suite/rpl/t/last_insert_id.test: Test case for last_insert_id sql/log_event.cc: Added DBUG_PRINT Set thd->first_successful_insert_id_in_prev_stmt_for_binlog when setting thd->first_successful_insert_id_in_prev_stmt. This is required to get last_insert_id() replicated. This is analog to how read_first_successful_insert_id_in_prev_stmt() works. sql/rpl_utility.cc: Added DBUG_PRINT
-
- 26 Aug, 2013 8 commits
-
-
Igor Babaev authored
When in function remove_eq_conds() a sub-formula of the processed condition is replaced for another formula we should ensure that in the resulting formula AND/OR levels must alternate.
-
Igor Babaev authored
The patch to fix mdev-4418 turned out to be incorrect. At the substitution of single row tables in make_join_statistics() the used multiple equalities may change and references to the new multiple equalities must be updated. The function remove_eq_conds() takes care of it and it should be called right after the substitution of single row tables. Calling it after the call of make_join_statistics was a mistake.
-
Sergey Petrunya authored
a direct child of the WHERE clause item, but rather is embedded inside Item_cond_and or Item_cond_or.
-
Sergei Golubchik authored
be ignored on return
-
Sergei Golubchik authored
treated as coming from the overlay.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
don't log it to the error log.
-
Sergei Golubchik authored
-
- 28 Aug, 2013 1 commit
-
-
Sergei Golubchik authored
It's safe to delete from HASH when traversing it *backwards*, but not *forwards*.
-
- 26 Aug, 2013 2 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
-
- 24 Aug, 2013 1 commit
-
-
Igor Babaev authored
Made sure that degenerate conjunctions/disjunctions are obtained from AND/OR conditions.
-
- 23 Aug, 2013 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
The code of JOIN::optimize that performed substitutions for the best equal field in all ref items did not take into account that a multiple equality could contain the result of the single-value subquery if the subquery is inexpensive. This code was corrected. Also made necessary corresponding corrections in the code of make_join_select().
-
Sergey Petrunya authored
- When applying optimization introduced by MDEV-4817, ignore the conditions that have form "datetime_not_null_col IS NULL".
-
- 22 Aug, 2013 4 commits
-
-
Alexander Barkov authored
pending merges: Alexander Barkov 2013-08-22 MDEV-4804 Date comparing false result
-
Alexander Barkov authored
-
Sergey Petrunya authored
-
Sergey Petrunya authored
Fix two problems in table elimination code: - Before marking a "value" as bound, check if it is already bound. Marking the same value as bound twice could confuse a module that depends on this value, because Dep_module_XXX use counters to know when they become bound. - When checking whether field is part of a key, ignore "extended keys" property.
-
- 21 Aug, 2013 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
-
unknown authored
MDEV-4908: Assertion `((Item_cond *) cond)->functype() == ((Item_cond *) new_item)->functype()' fails on a query with IN and equal conditions, AND/OR, materialization+semijoin A new AND Item should be prepared (fix_field() call) before using.
-