1. 15 Oct, 2013 4 commits
  2. 14 Oct, 2013 3 commits
    • Sergey Petrunya's avatar
      Code cleanup. · 1ec399ce
      Sergey Petrunya authored
      1ec399ce
    • Sergey Petrunya's avatar
      MDEV-3798: EXPLAIN UPDATE/DELETE · 105e3ae6
      Sergey Petrunya authored
      Update the SHOW EXPLAIN code to work with the 
      new architecture (part#1):
      Before, SHOW EXPLAIN operated on real query plan structures, 
      which meant it had to check when SELECTs are created/deleted.
      SELECTs would call apc_target->enable() when they got a query 
      plan and disable() when their query plan was deleted.
      
      Now, Explain data structure becomes available at once (and we
      call apc_target->enable()) and then it stays until it is deleted
      (when that happens, we call apc_target->disable()).
      
      
      
      105e3ae6
    • Sergey Petrunya's avatar
      MDEV-3798: EXPLAIN UPDATE/DELETE · f67f8fd0
      Sergey Petrunya authored
      - Fix EXPLAIN INSERT DELAYED ... : do call end_delayed_insert().
      f67f8fd0
  3. 11 Oct, 2013 2 commits
  4. 10 Oct, 2013 1 commit
  5. 09 Oct, 2013 4 commits
    • Sergey Petrunya's avatar
      MDEV-3798: EXPLAIN UPDATE/DELETE: · 582ecb2a
      Sergey Petrunya authored
      Backport mysql-test/t/myisam_explain_non_select_all.test from mysql-5.6
      - the .result file was modified because MariaDB choses different 
        query plans in a number cases. Also, we don't have some of the 
        "incorrect EXPLAIN output" bugs that they still have.
      
      The .test file and includes were taken verbatim with one 
      exception: two tests were disabled with --disable parsing:
      
      1. @@sql_safe_updates is not enforced EXPLAINs of multitable 
         updates. In MariaDB, the execution itself will produce 
         ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, but EXPLAIN won't.
      2. Their case #71 hits some old bug in MyISAM (See their comments
         in explain_non_select.inc for details).
      582ecb2a
    • Sergey Petrunya's avatar
      MDEV-3798: EXPLAIN UPDATE/DELETE · 7e919c52
      Sergey Petrunya authored
      - Produce correct `key_len` when type=index.
      7e919c52
    • Sergey Petrunya's avatar
      MDEV-3798: EXPLAIN UPDATE/DELETE · 3c6ac669
      Sergey Petrunya authored
      - Produce correct #rows for ORDER BY ... LIMIT N queries that take advantage of 
        ordered index read to read only N rows.
      3c6ac669
    • Sergey Petrunya's avatar
      MDEV-3798: EXPLAIN UPDATE/DELETE · 161d6875
      Sergey Petrunya authored
      - Generate correct contents of `Extra` column for UPDATEs/DELETEs that use quick selects
      - UPDATEs with used_key_is_modified=true will show "Using buffer"
      161d6875
  6. 08 Oct, 2013 2 commits
  7. 07 Oct, 2013 3 commits
  8. 05 Oct, 2013 5 commits
  9. 04 Oct, 2013 2 commits
  10. 01 Oct, 2013 1 commit
    • Sergey Petrunya's avatar
      EXPLAIN UPDATE/DELETE · 6519ca51
      Sergey Petrunya authored
      - Make EXPLAIN UPDATE/DELETE work inside SPs
      - Return correct error code from mysql_delete()
      - EXPLAIN <multi-DELETE> will create a multi_delete object (as it 
        affects the optimization). select_result will be only used for 
        producing EXPLAIN output.
      6519ca51
  11. 26 Sep, 2013 2 commits
  12. 25 Sep, 2013 5 commits
  13. 23 Sep, 2013 1 commit
  14. 20 Sep, 2013 1 commit
  15. 19 Sep, 2013 1 commit
  16. 17 Sep, 2013 2 commits
  17. 04 Sep, 2013 1 commit