1. 18 Dec, 2014 1 commit
    • Sergey Petrunya's avatar
      MDEV-6830: Server crashes in best_access_path after a sequence of SELECTs ... · b75090c7
      Sergey Petrunya authored
      generate_derived_keys_for_table() did not work correctly in the case where
      - it had a potential index on derived table
      - however, TABLE::check_tmp_key() would disallow creation of this index 
        after looking at its future key parts (because of the key parts exceeding 
        max. index length)
      - the code would leave a KEYUSE structure that refers to a non-existant index.
        Depending on further optimizer calculations, this could cause a crash. 
      b75090c7
  2. 15 Nov, 2014 1 commit
  3. 13 Nov, 2014 1 commit
  4. 28 Oct, 2014 4 commits
  5. 15 Oct, 2014 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-6705. · 1e1a8a7f
      Igor Babaev authored
      After constant row substitution the WHERE condition may be simplified and its multiple equality
      may be changed. In this case the references to these multiple equalities from the COND_EQUAL
      objects associated with ON expressions must be updated.
      Also we have to take into account that this simplification may lead to equalities of the form
      field=const that are mutually exclusive with some of the equalities in ON expressions. 
      1e1a8a7f
  6. 09 Sep, 2014 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-6292. · 5023bb89
      Igor Babaev authored
      Avoided exponential recursive calls of JOIN_CACHE::join_records() in the case
      of non-nested outer joins.
      A different solution is required to resolve this performance problem for
      nested outer joins.
      5023bb89
  7. 04 Aug, 2014 1 commit
  8. 01 Aug, 2014 2 commits
  9. 28 Jul, 2014 1 commit
  10. 23 Jul, 2014 2 commits
  11. 05 Jun, 2014 1 commit
  12. 04 Jun, 2014 1 commit
  13. 02 Jun, 2014 3 commits
  14. 01 May, 2014 1 commit
  15. 23 Apr, 2014 1 commit
  16. 22 Apr, 2014 1 commit
  17. 21 Apr, 2014 4 commits
  18. 18 Apr, 2014 1 commit
  19. 17 Apr, 2014 1 commit
    • Igor Babaev's avatar
      Fixed bugs mdev-5927 and mdev-6116. · 13dc299a
      Igor Babaev authored
      Both bugs are caused by the same problem: the function optimize_cond() should
      update the value of *cond_equal rather than the value of join->cond_equal,
      because it is called not only for the WHERE condition, but for the HAVING
      condition as well.
      13dc299a
  20. 11 Apr, 2014 3 commits
  21. 23 Mar, 2014 1 commit
  22. 21 Mar, 2014 1 commit
  23. 18 Mar, 2014 1 commit
  24. 16 Mar, 2014 3 commits
  25. 15 Mar, 2014 1 commit
  26. 14 Mar, 2014 1 commit
    • unknown's avatar
      MDEV-5446: Assertion `!table || (!table->read_set ||... · 5c8ed7dd
      unknown authored
      MDEV-5446: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' fails on EXPLAIN EXTENDED with VALUES function
      
      field_index should be set correctly for null field created by Item_insert_value::fix_fields().
      5c8ed7dd