1. 14 Feb, 2012 3 commits
    • Sergey Petrunya's avatar
      Merge fix for BUG#928048 · 9f428fc6
      Sergey Petrunya authored
      9f428fc6
    • Sergey Petrunya's avatar
      BUG#928048: Query containing IN subquery with OR in the where clause returns a wrong result · a196f778
      Sergey Petrunya authored
      - Make equality propagation work correctly when done inside the OR branches 
      a196f778
    • Igor Babaev's avatar
      Fixed LP bug #925985. · cdef3340
      Igor Babaev authored
      If the flag 'optimize_join_buffer_size' is set to 'off' and the value
      of the system variable 'join_buffer_size' is greater than the value of
      the system variable 'join_buffer_space_limit' than no join cache can
      be employed to join tables of the executed query.
      A bug in the function JOIN_CACHE::alloc_buffer allowed to use join
      buffer even in this case while another bug in the function 
      revise_cache_usage could cause a crash of the server in this case if the
      chosen execution plan for the query contained outer join or semi-join
      operation.  
      cdef3340
  2. 13 Feb, 2012 1 commit
    • unknown's avatar
      When we fail during slave thread initialisation, keep mi->run_lock · 0a5cf33a
      unknown authored
      locked until we have finished clean up.
      
      Previously, the code released the lock without marking that the thread
      was running. This allowed a new slave thread to start while the old one
      was still in the middle of cleaning up, causing assertions and probably
      general mayhem.
      0a5cf33a
  3. 12 Feb, 2012 2 commits
  4. 11 Feb, 2012 4 commits
  5. 10 Feb, 2012 5 commits
  6. 09 Feb, 2012 1 commit
  7. 03 Feb, 2012 9 commits
  8. 02 Feb, 2012 1 commit
  9. 01 Feb, 2012 2 commits
  10. 31 Jan, 2012 1 commit
  11. 30 Jan, 2012 2 commits
  12. 28 Jan, 2012 3 commits
  13. 27 Jan, 2012 2 commits
  14. 26 Jan, 2012 2 commits
  15. 25 Jan, 2012 2 commits
    • Sergey Petrunya's avatar
      BUG#920713: Wrong result (missing rows) with firstmatch+BNL, IN subquery, ... · 493e4383
      Sergey Petrunya authored
      - Disable use of join cache when we're using FirstMatch strategy, and the join
        order is such that subquery's inner tables are interleaved with outer.  Join 
        buffering code is incapable of handling such join orders.
      
      - The testcase requires use of @@debug_optimizer_prefer_join_prefix to hit the bug, 
        but I'm pushing it anyway (including the mention of the variable in .test file), 
        so that it can be found and enabled when/if we get something comparable in the 
        main tree.
      493e4383
    • Sergey Petrunya's avatar
      Merge · 94bdbc11
      Sergey Petrunya authored
      94bdbc11