1. 09 Mar, 2012 2 commits
    • unknown's avatar
      ea736c93
    • Igor Babaev's avatar
      Fixed LP bug #884175. · af7213d5
      Igor Babaev authored
      If in the where clause of the a query some comparison conditions on the
      field under a MIN/MAX aggregate function contained constants whose sizes
      exceeded the size of the field then the query could return a wrong result
      when the optimizer had chosen to apply the MIN/MAX optimization.
      With such conditions the MIN/MAX optimization still could be applied, yet
      it would require a more thorough analysis of the keys built to find
      the value of MIN/MAX aggregate functions with index look-ups.   
      The current patch just prohibits using the MIN/MAX optimization in this
      situation.
      af7213d5
  2. 06 Mar, 2012 2 commits
  3. 01 Mar, 2012 1 commit
  4. 28 Feb, 2012 2 commits
    • Michael Widenius's avatar
      Automatic merge · adf3deda
      Michael Widenius authored
      adf3deda
    • Michael Widenius's avatar
      Fixed lp:905716 "Assertion `page->size <= share->max_index_block_size'" · cf06b29f
      Michael Widenius authored
      The issue was that Aria allowed too long keys to be created (so that the internal buffer was not big enough to hold the whole key).
      Key lengths is now limited to HA_MAX_KEY_LENGTH (1000), as for MyISAM.
      Fixed failure in  "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot.
      
      mysql-test/suite/maria/r/maria.result:
        Updated results
      mysql-test/suite/maria/r/maria3.result:
        Updated results. Added test for bug fix
      mysql-test/suite/maria/t/maria3.test:
        Updated results. Added test for bug fix
      mysql-test/suite/maria/t/optimize.test:
        Updated test for new max key length
      storage/maria/ha_maria.cc:
        Limit key to HA_MAX_KEY_LENGTH.
      storage/maria/ma_key_recover.c:
        Limit used page length to max page size (this is in line with the code that writes the entry to the log).
        This fixes failure in  "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot.
      storage/maria/ma_search.c:
        Extra DBUG
      storage/maria/ma_write.c:
        Added test to detect errors earlier.
      cf06b29f
  5. 26 Feb, 2012 1 commit
    • Igor Babaev's avatar
      Fixed LP bug #939866. · 5db67c72
      Igor Babaev authored
      The field key_cache_mem_size of the KEY_CACHE structure must be
      initialized in the function init_key_cache() and updated in the
      function resize_key_cache().
      5db67c72
  6. 25 Feb, 2012 1 commit
  7. 24 Feb, 2012 2 commits
  8. 22 Feb, 2012 1 commit
  9. 21 Feb, 2012 3 commits
  10. 20 Feb, 2012 12 commits
  11. 17 Feb, 2012 1 commit
    • Igor Babaev's avatar
      Fixed LP bug #933117. · c563ea07
      Igor Babaev authored
      The bug was fixed with the code back-ported from the patch for LP bug 800184
      pushed into mariadb-5.3.
      c563ea07
  12. 12 Feb, 2012 1 commit
  13. 11 Feb, 2012 4 commits
  14. 03 Feb, 2012 3 commits
  15. 25 Jan, 2012 1 commit
  16. 23 Jan, 2012 1 commit
  17. 21 Jan, 2012 1 commit
    • Igor Babaev's avatar
      Fixed LP bug #919427. · bb4053af
      Igor Babaev authored
      The function subselect_uniquesubquery_engine::copy_ref_key has to take into
      account that when EXPLAIN is processed the array of store_key object created
      for any TABLE_REF may contain elements for constant items. These items should
      be ignored by thefunction.
      bb4053af
  18. 12 Jan, 2012 1 commit