1. 03 Feb, 2012 3 commits
    • unknown's avatar
    • Igor Babaev's avatar
      Back-ported the fix for bug #12831587 from mysql-5.6 code line. · 04698866
      Igor Babaev authored
      The comment for the fix commit says:
      Due to the changes required by ICP we first copy a row from the InnoDB
      format to the MySQL row buffer and then copy it to the pre-fetch queue.
      This was done for the non-ICP code path too. This change removes the
      double copy for the latter.
      04698866
    • Igor Babaev's avatar
      Applied the patch from mysql-5.6 code line that fixed · 94c31606
      Igor Babaev authored
      a significant performance drop for high concurrency bechmarks
      (bug #11765850 - 58854).
      
      Here's the comment of the patch commit:
      
      The bug is that the InnoDB pre-fetch cache was not being used in
      row_search_for_mysql().  Secondly the changeset that planted the
      bug also introduced some inefficient code. It would read an extra
      row, convert it to MySQL row format (for ICP==off), copy the row
      to the pre-fetch cache row buffer, then check for cache overflow
      and dequeue the row that was pushed if there was a possibility of
      a cache overflow.
      94c31606
  2. 02 Feb, 2012 1 commit
  3. 01 Feb, 2012 2 commits
  4. 31 Jan, 2012 1 commit
  5. 30 Jan, 2012 2 commits
  6. 28 Jan, 2012 3 commits
  7. 27 Jan, 2012 2 commits
  8. 26 Jan, 2012 2 commits
  9. 25 Jan, 2012 4 commits
  10. 23 Jan, 2012 3 commits
  11. 22 Jan, 2012 2 commits
  12. 21 Jan, 2012 1 commit
    • Igor Babaev's avatar
      Fixed LP bug #919427. · bb4053af
      Igor Babaev authored
      The function subselect_uniquesubquery_engine::copy_ref_key has to take into
      account that when EXPLAIN is processed the array of store_key object created
      for any TABLE_REF may contain elements for constant items. These items should
      be ignored by thefunction.
      bb4053af
  13. 19 Jan, 2012 3 commits
    • Sergey Petrunya's avatar
      BUG#912513: Wrong result (missing rows) with join_cache_hashed+materialization+semijoin=on · 9f60aa27
      Sergey Petrunya authored
      - equality substitution code was geared towards processing WHERE/ON clauses.
        that is, it assumed that it was doing substitions on the code that 
         = wasn't attached to any particular join_tab yet
         = was going to be fed to make_join_select() which would take the condition
           apart and attach various parts of it to tables inside/outside semi-joins.
      - However, somebody added equality substition for ref access. That is, if 
        we have a ref access on TBL.key=expr, they would do equality substition in
        'expr'. This possibility wasn't accounted for.
      - Fixed equality substition code by adding a mode that does equality 
        substition under assumption that the processed expression will be 
        attached to a certain particular table TBL.
      9f60aa27
    • Sergey Petrunya's avatar
      BUG#912538: Wrong result (missing rows) with semijoin=on, firstmatch=on, ... · 8bedf1ea
      Sergey Petrunya authored
      - setup_semijoin_dups_elimination() would incorrectly set join_tab->do_firstmatch 
        when the join order had outer tables interleaved with inner.
      8bedf1ea
    • Vladislav Vaintroub's avatar
      Fix compiler warning on Windows. · 0e975ded
      Vladislav Vaintroub authored
      0e975ded
  14. 18 Jan, 2012 6 commits
  15. 17 Jan, 2012 1 commit
  16. 13 Jan, 2012 1 commit
  17. 12 Jan, 2012 3 commits