1. 24 Aug, 2013 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-4942. · 2e981264
      Igor Babaev authored
      Made sure that degenerate conjunctions/disjunctions are obtained from
      AND/OR conditions.
      2e981264
  2. 22 Aug, 2013 1 commit
  3. 21 Aug, 2013 1 commit
  4. 20 Aug, 2013 2 commits
    • Igor Babaev's avatar
      Fixed a bug/typo in the patch for mdev-4355, noticed after the patch · 66775317
      Igor Babaev authored
      had been merged into 5.5.
      
      Corrected the result of the output from the test case for mdev 4895.
      66775317
    • unknown's avatar
      Fix bug MDEV-4895 Valgrind warnings (Conditional jump or move depends on... · d5835791
      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. 
      d5835791
  5. 19 Aug, 2013 1 commit
  6. 17 Aug, 2013 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-4418. · 31380813
      Igor Babaev authored
      After single row substitutions there might appear new equalities.
      They should be properly propagated to all AND/OR levels the WHERE
      condition. It's done now with an additional call of remove_eq_conds(). 
      31380813
  7. 15 Aug, 2013 4 commits
    • Igor Babaev's avatar
      Merge · fdc96baf
      Igor Babaev authored
      fdc96baf
    • Igor Babaev's avatar
      Fixed bug mdev-4355. · d7dfc6c5
      Igor Babaev authored
      This patch almost totally revised the patch for bug mdev-4177.
      The latter had too many defects. In particular, it did not
      propagate multiple equalities formed when merging a degenerate
      disjunct into underlying AND formula.
      d7dfc6c5
    • Igor Babaev's avatar
      Merge 5.2->5.3 · fa154e94
      Igor Babaev authored
      fa154e94
    • Igor Babaev's avatar
      Merge 5.1->5.2 · b3ed28dd
      Igor Babaev authored
      b3ed28dd
  8. 13 Aug, 2013 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-4894. · a8880257
      Igor Babaev authored
      This a an old legacy performance bug.
      When a very selective range scan existed for the second table in a join,
      and, at the same time, there was another range condition depending on the
      fields of the first table, the optimizer chose a plan with
      'Range checked for each record'. This plan was extremely inefficient in
      comparison with the regular selective range scan.
      As a matter of fact the range scan chosen for each record was the same as
      that selective range scan. 
      
      Changed the test case for bug 24776 to preserve the old output for explain.
       
      a8880257
  9. 12 Aug, 2013 1 commit
  10. 01 Aug, 2013 1 commit
  11. 08 Aug, 2013 2 commits
  12. 01 Aug, 2013 1 commit
  13. 21 Jul, 2013 1 commit
  14. 15 Jul, 2013 1 commit
  15. 09 Jul, 2013 3 commits
    • Vladislav Vaintroub's avatar
      MDEV-4409 - Fix deadlock in MySQL key cache code, that can happen if there is... · 5f4318b6
      Vladislav Vaintroub authored
      MDEV-4409 - Fix deadlock in MySQL key cache code, that can happen if there is a key cache resize running in parallel with an update.
      
      If there is a key cache resize,a  thread writing to key cache, will pause waiting  until resize finishes. However this thread is won't be woken, because resize does not  signaling waiters anymore. This is a regression introduced in WL#86(segmented MyISAM key cache)
      The fix is to unconditionally release  threads waiting on resize_queue when resize  finishes, as in pre-WL#86 code.
      5f4318b6
    • Alexander Barkov's avatar
      Merge from 5.2 · da3c97c3
      Alexander Barkov authored
      modified:
        mysql-test/suite/plugins/r/fulltext_plugin.result
        mysql-test/suite/plugins/t/fulltext_plugin.test
        plugin/fulltext/plugin_example.c
        sql/sql_show.cc
      pending merges:
        Alexander Barkov 2013-07-09 [merge] Merge from 5.1
          Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninst...
          Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
      da3c97c3
    • Alexander Barkov's avatar
      Merge from 5.1 · 4555a0b3
      Alexander Barkov authored
      modified:
        mysql-test/suite/plugins/r/fulltext_plugin.result
        mysql-test/suite/plugins/t/fulltext_plugin.test
        plugin/fulltext/plugin_example.c
        sql/sql_show.cc
      pending merges:
        Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninstall ...
          Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
      4555a0b3
  16. 06 Jul, 2013 1 commit
  17. 05 Jul, 2013 3 commits
  18. 03 Jul, 2013 1 commit
  19. 28 Jun, 2013 2 commits
    • Alexander Barkov's avatar
      A clean-up for MDEV-4634 · b78e5617
      Alexander Barkov authored
      modified:
        sql/time.cc
      b78e5617
    • Alexander Barkov's avatar
      MDEV-4634 Crash in CONVERT_TZ · 3c4db61e
      Alexander Barkov authored
      Item_func_min_max::get_date() did not check the
      returned value against the fuzzy_date flags, so
      it could return a bad value to the caller that
      expects a good date (e.h. CONVERT_TZ).
      
      
      modified:
        mysql-test/r/type_date.result
        mysql-test/r/type_datetime.result
        mysql-test/r/type_time.result
        mysql-test/t/type_date.test
        mysql-test/t/type_datetime.test
        mysql-test/t/type_time.test
        sql/item_func.cc
        sql/item_timefunc.cc
        sql/mysql_priv.h
        sql/time.cc
      3c4db61e
  20. 17 Jun, 2013 2 commits
  21. 06 Jun, 2013 1 commit
  22. 24 May, 2013 1 commit
  23. 21 May, 2013 1 commit
  24. 20 May, 2013 2 commits
  25. 19 May, 2013 2 commits
  26. 11 May, 2013 2 commits