1. 27 Mar, 2011 2 commits
  2. 26 Mar, 2011 5 commits
  3. 25 Mar, 2011 5 commits
  4. 24 Mar, 2011 1 commit
  5. 22 Mar, 2011 5 commits
  6. 21 Mar, 2011 3 commits
  7. 19 Mar, 2011 1 commit
  8. 01 Mar, 2011 5 commits
  9. 28 Feb, 2011 2 commits
    • Sergey Petrunya's avatar
      BUG#724275: Crash in JOIN::optimize in maria-5.3 · 10b8119a
      Sergey Petrunya authored
      - Make equality-substitution-for-ref-access code in JOIN::optimize() treat join_tab->ref.key_copy correctly
        (in the way create_ref_for_key() has filled it).
      10b8119a
    • Igor Babaev's avatar
      Fixed LP bug #725050. · 0f0360e2
      Igor Babaev authored
      The bug in the function print_keyuse() caused crashes if
      hash join could be used. It happened because the function
      ignored the fact that KEYUSE structures could be created
      for hash joins as well. 
      0f0360e2
  10. 27 Feb, 2011 3 commits
    • Igor Babaev's avatar
      Merge. · 1b03a028
      Igor Babaev authored
      1b03a028
    • Igor Babaev's avatar
      Minor corrections. · ed3524c2
      Igor Babaev authored
      sql/mysqld.cc:
        Fixed: optimize_join_buffer_size was missing in the description of possible
        options for the optimizer switch.
      sql/sql_select.cc:
        Fixed: initialization for the field ref_table_rows of the KEYUSE structure was 
        missing (as a result of a lame merge).
      ed3524c2
    • Igor Babaev's avatar
      Merge · d57b1be9
      Igor Babaev authored
      d57b1be9
  11. 26 Feb, 2011 1 commit
  12. 25 Feb, 2011 4 commits
    • Sergey Petrunya's avatar
      Merge of fix for BUG#723822 · 71371a9d
      Sergey Petrunya authored
      71371a9d
    • Sergey Petrunya's avatar
      BUG#723822: Crash in get_constant_key_infix with EXISTS ( SELECT .. DISTINCT ) · 0f265b82
      Sergey Petrunya authored
      - Make get_constant_key_infix() take into account that there may be SEL_TREEs with
        type=SEL_ARG::MAYBE_KEY, which it cannot process, because they are not real ranges
        but rather indications that we might have been able to construct a range if we had
        values for some other tables' fields. 
        (check_quick_select() already has such check)
      0f265b82
    • Michael Widenius's avatar
      automatic merge · 227f1103
      Michael Widenius authored
      227f1103
    • Michael Widenius's avatar
      Fixed compiler warnings · 52b64be3
      Michael Widenius authored
      client/readline.cc:
        Initialize not used variable (to kill wrong compiler warning)
      mysql-test/suite/handler/aria.result:
        Updated test result
      mysql-test/suite/handler/handler.inc:
        Changed index to ensure rows are in a fixed order
      mysql-test/suite/handler/heap.result:
        Updated test result
      mysql-test/suite/handler/innodb.result:
        Updated test result
      mysql-test/suite/handler/myisam.result:
        Updated test result
      plugin/handler_socket/handlersocket/Makefile.am:
        Use CXX flags to compile
      sql/filesort.cc:
        Initialize variable that may be used
      sql/log.cc:
        Initialize not used variable (to kill wrong compiler warning)
      sql/opt_range_mrr.cc:
        Fixed cast to avoid compiler warning
      storage/xtradb/fil/fil0fil.c:
        Added cast to avoid compiler warning
      52b64be3
  13. 24 Feb, 2011 3 commits
    • Sergey Petrunya's avatar
      BUG#724537: innodb_mysql.test fails with --embedded-server · 22e1ee5f
      Sergey Petrunya authored
      - Don't access THD::killed directly from ha_innodb.cc. This is forbidden because 
        THD has different membership (and so, different member offsets) in regular and embedded server.
        Access must be done through thd_killed() function.
      
      - if we're interrupted by the user while in XtraDB, return the proper code.
      
      22e1ee5f
    • Igor Babaev's avatar
      8f4bcdac
    • Igor Babaev's avatar
      BNLH algorithm always used a full table scan over the joined table · 272e5e62
      Igor Babaev authored
      even in the cases when there existed range/index-merge scans that
      were cheaper than the full table scan.
      This was a defect/bug of the implementation of mwl #128. 
      Now hash join can work not only with full table scan of the joined
      table, but also with full index scan, range and index-merge scans.
      Accordingly, in the cases when hash join is used the column 'type'
      in the EXPLAINs can contain now 'hash_ALL', 'hash_index', 'hash_range'
      and 'hash_index_merge'. If hash join is coupled with a range/index_merge
      scan then the columns 'key' and 'key_len' contain info not only on
      the used hash index, but also on the indexes used for the scan.   
      272e5e62