1. 22 Aug, 2013 1 commit
    • Sergey Petrunya's avatar
      MDEV-4840: Wrong result (missing rows) on LEFT JOIN with InnoDB tables · 0e016cb7
      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.
      0e016cb7
  2. 20 Aug, 2013 2 commits
  3. 19 Aug, 2013 3 commits
    • Igor Babaev's avatar
      Merge · 1854483f
      Igor Babaev authored
      1854483f
    • Igor Babaev's avatar
      Merge · 9acac6af
      Igor Babaev authored
      9acac6af
    • Igor Babaev's avatar
      Merge 5.3->5.5. · 26eecc02
      Igor Babaev authored
      In particular:
      Merged the patch for bug mdev-4418 from 5.3 into 5.5.
      Fixed a bug in the patch that should be backported to 5.3.
      26eecc02
  4. 17 Aug, 2013 2 commits
  5. 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
  6. 14 Aug, 2013 1 commit
  7. 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
  8. 12 Aug, 2013 2 commits
  9. 08 Aug, 2013 5 commits
  10. 05 Aug, 2013 7 commits
  11. 01 Aug, 2013 2 commits
  12. 31 Jul, 2013 2 commits
  13. 29 Jul, 2013 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-4815 - allow multiple mysql_server_init() / mysql_server_end() in the... · 401c4b04
      Vladislav Vaintroub authored
      MDEV-4815 - allow multiple  mysql_server_init() / mysql_server_end() in the same process, for embedded library.
      
      - Reset  static variables that are used to signal "init done"  for DBUG, in dbug_end()
      - Set string server variables to NULL after memory for the value is freed - avoids double free()
      - fix DBUG_ASSERTs that happened during reinitialization.
      401c4b04
  14. 25 Jul, 2013 1 commit
    • Sergey Petrunya's avatar
      MDEV-4687: impossible where with < operation, but =-5 return one row · 05e756d2
      Sergey Petrunya authored
      - Let _ma_record_pos() set SEARCH_PART_KEY when doing a search on
        a prefix of a [unique] key.  Otherwise, _ma_search_pos() would 
        find the first key equal to search key, and assume it is also 
        the last one, which will make a wrong estimate of key's position.
      
        A wrong key position may cause min_pos > max_pos and records_in_range()
        will return 0, which will make the optimizer think it's an impossible 
        range while in fact it is not.
      05e756d2
  15. 21 Jul, 2013 1 commit
  16. 19 Jul, 2013 1 commit
  17. 18 Jul, 2013 1 commit
  18. 17 Jul, 2013 2 commits
  19. 16 Jul, 2013 1 commit