1. 06 Sep, 2013 1 commit
    • Sergey Vojtovich's avatar
      MDEV-4978 - Server cursor is broken with blobs in the select list, · bbc9e579
      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.
      bbc9e579
  2. 03 Sep, 2013 2 commits
  3. 31 Aug, 2013 2 commits
  4. 30 Aug, 2013 2 commits
    • Sergey Vojtovich's avatar
      MDEV-4902 - sql_yacc.yy incompatible with bison 3 · 6fc98018
      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.
      6fc98018
    • Igor Babaev's avatar
      Fixed bug mdev-4971. · 576a2b15
      Igor Babaev authored
      The function propagate_new_equalities() did not updated properly
      the references to inherited multiple equalities.
      576a2b15
  5. 29 Aug, 2013 2 commits
    • Igor Babaev's avatar
      Merge 5.3->5.5 · 59af095d
      Igor Babaev authored
      59af095d
    • Igor Babaev's avatar
      Fixed bug mdev-4962. · 37f18d23
      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.
      37f18d23
  6. 28 Aug, 2013 6 commits
  7. 27 Aug, 2013 1 commit
    • Michael Widenius's avatar
      Fixed MySQL bug #69861 LAST_INSERT_ID is replicated incorrectly if replication filters are used · 112411b0
      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
      112411b0
  8. 26 Aug, 2013 8 commits
  9. 28 Aug, 2013 1 commit
  10. 26 Aug, 2013 2 commits
  11. 24 Aug, 2013 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-4942. · dbc84ff9
      Igor Babaev authored
      Made sure that degenerate conjunctions/disjunctions are obtained from
      AND/OR conditions.
      dbc84ff9
  12. 23 Aug, 2013 3 commits
  13. 22 Aug, 2013 4 commits
  14. 21 Aug, 2013 3 commits
  15. 20 Aug, 2013 2 commits
    • Igor Babaev's avatar
      Fixed a bug/typo in the patch for mdev-4355, noticed after the patch · 99992f6e
      Igor Babaev authored
      had been merged into 5.5.
      
      Corrected the result of the output from the test case for mdev 4895.
      99992f6e
    • unknown's avatar
      Fix bug MDEV-4895 Valgrind warnings (Conditional jump or move depends on... · 5fdb531d
      unknown authored
      Fix bug MDEV-4895 Valgrind warnings (Conditional jump or move depends on uninitialised value) in Field_datetime::get_date on GREATEST(..) IS NULL
      
      Analysis:
      The cause of the valgrind warning was an attempt to evaluate a Field that was not yet read.
      The reason was that on one hand Item_func_isnotnull was marked as constant by
      Item_func_isnotnull::update_used_tables, and this allowed eval_const_cond() to be called.
      On the other hand Item_func_isnotnull::val_int() evaluated its argument as if it was not
      constant.
      
      Solution:
      The fix make sure that Item_func_isnotnull::val_int() doesn't evaluate its argument when
      it is constant and cannot be NULL, because the result is known in this case. 
      5fdb531d