1. 08 Mar, 2007 1 commit
    • istruewing@chilla.local's avatar
      Bug#25673 - spatial index corruption, error 126 · 2d6ad76a
      istruewing@chilla.local authored
                incorrect key file for table
      
      In certain cases it could happen that deleting a row could
      corrupt an RTREE index.
      
      According to Guttman's algorithm, page underflow is handled
      by storing the page in a list for later re-insertion. The
      keys from the stored pages have to be inserted into the
      remaining pages of the same level of the tree. Hence the
      level number is stored in the re-insertion list together
      with the page.
      
      In the MySQL RTree implementation the level counts from zero
      at the root page, increasing numbers for levels down the tree.
      
      If during re-insertion of the keys the tree height grows, all
      level numbers become invalid. The remaining keys will be
      inserted at the wrong level.
      
      The fix is to increment the level numbers stored in the
      reinsert list after a split of the root block during reinsertion.
      2d6ad76a
  2. 13 Feb, 2007 2 commits
  3. 12 Feb, 2007 4 commits
  4. 08 Feb, 2007 2 commits
  5. 07 Feb, 2007 1 commit
  6. 06 Feb, 2007 8 commits
  7. 05 Feb, 2007 2 commits
  8. 02 Feb, 2007 5 commits
  9. 01 Feb, 2007 7 commits
  10. 31 Jan, 2007 7 commits
  11. 30 Jan, 2007 1 commit
    • igor@olga.mysql.com's avatar
      Fixed bug #24987. · 60ac1f1b
      igor@olga.mysql.com authored
      Made the function opt_sum_query to return HA_ERR_KEY_NOT_FOUND when
      no matches were found (instead of -1 it returned prior this patch).
      This changes allow us to avoid possible conflicts with return values
      from user-defined handler methods which also may return -1. 
      No particular test cases are provided with this fix.
      60ac1f1b