1. 27 Jun, 2011 1 commit
  2. 24 Jun, 2011 2 commits
  3. 23 Jun, 2011 1 commit
    • Igor Babaev's avatar
      Fixed LP bug #800518. · 3cf0d6f4
      Igor Babaev authored
      The function simple_pred did not take into account that a multiple equality
      could include ref items (more exactly items of the class Item_direct_view_ref).
      It caused crashes for queries over derived tables or views if the
      min/max optimization could be applied to these queries.
      3cf0d6f4
  4. 22 Jun, 2011 5 commits
    • Sergey Petrunya's avatar
      Make semi-joins work with outer joins: · ed54ec7e
      Sergey Petrunya authored
      - evaluate_null_complemented_join_record() should perform FirstMatch checks.
      ed54ec7e
    • Sergey Petrunya's avatar
      Make semi-joins work with outer joins part #2: · eea95a15
      Sergey Petrunya authored
      - Do make the DuplicateWeedout check for outer joins.
      eea95a15
    • Sergey Petrunya's avatar
      BUG#600958 RQG: Crash in optimize_semijoin_nests · 038be989
      Sergey Petrunya authored
      - Testcase.
      038be989
    • Igor Babaev's avatar
      Merge · 1f6b32bc
      Igor Babaev authored
      1f6b32bc
    • Igor Babaev's avatar
      Fixed LP bug #798621. · e7578ac6
      Igor Babaev authored
      The patch for bugs 717577 and 724942 has missed to make adjustments for the
      call item_equal->add_const(const_item, orig_field_item) in the function
      check_simple_equality that builds multiple equality for a field and a constant.
      As a result, when this field happens to be a view field and the corresponding
      Item_field object F is wrapped in an Item_direct_view_ref object R the object
      F is placed in the multiple equality instead of the object R.
      A substitution of an equal item for F potentially can cause very serious
      problems and in some cases can lead to crashes of the server.
      e7578ac6
  5. 21 Jun, 2011 4 commits
    • Sergey Petrunya's avatar
      Make semi-joins work with outer joins part #1: · 6adddca8
      Sergey Petrunya authored
      - Make make_outerjoin_info() correctly process semi-join nests
      - Make make_join_select() attach conditions to the right places.
      6adddca8
    • unknown's avatar
      MWL#89 · e1d734f3
      unknown authored
      Removed forgotten EXPLAIN EXTENDED from the test file.
      e1d734f3
    • unknown's avatar
      MWL#89 · 44570d2b
      unknown authored
      Automerged with 5.3.
      44570d2b
    • unknown's avatar
      MWL#89 · a02682ab
      unknown authored
      - Added regression test with queries over the WORLD database.
      - Discovered and fixed several bugs in the related cost calculation
        functionality both in the semijoin and non-semijon subquery code.
      - Added DBUG printing of the cost variables used to decide between
        IN-EXISTS and MATERIALIZATION.
      a02682ab
  6. 17 Jun, 2011 2 commits
  7. 16 Jun, 2011 1 commit
  8. 15 Jun, 2011 5 commits
  9. 14 Jun, 2011 1 commit
  10. 12 Jun, 2011 1 commit
  11. 14 Jun, 2011 1 commit
    • unknown's avatar
      Another attempt at fixing the rare random failures of rpl_corruption · 54fcd3b8
      unknown authored
      The previous patch partially fixed things by waiting for the old dump thread
      on the master to exit before injecting the DBUG error. This prevents the error
      injection going to the wrong thread.
      
      However, there is still the problem that the old dump thread may never exit,
      causing the wait to time out. This happens if the dump thread manages to write
      all events down the socket before the socket is closed by the slave. The
      master dump thread only checks for slave gone when writing a new event, so if
      no new events are generated, old dump threads can hang around forever on the
      master after the slave disconnects.
      
      Fix by explicitly killing the old dump thread if it is still around.
      54fcd3b8
  12. 13 Jun, 2011 1 commit
  13. 11 Jun, 2011 4 commits
  14. 10 Jun, 2011 6 commits
  15. 09 Jun, 2011 5 commits