1. 24 Jun, 2011 2 commits
  2. 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
  3. 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
  4. 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
  5. 17 Jun, 2011 2 commits
  6. 16 Jun, 2011 1 commit
  7. 15 Jun, 2011 5 commits
  8. 14 Jun, 2011 1 commit
  9. 12 Jun, 2011 1 commit
  10. 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
  11. 13 Jun, 2011 1 commit
  12. 11 Jun, 2011 4 commits
  13. 10 Jun, 2011 6 commits
  14. 09 Jun, 2011 6 commits