1. 06 Nov, 2007 1 commit
    • istruewing@stella.local's avatar
      Bug#4692 - DISABLE/ENABLE KEYS waste a space · 30b409bd
      istruewing@stella.local authored
      Disabling and enabling indexes on a non-empty table grows the
      index file.
      
      Disabling indexes just sets a flag per non-unique index and does not
      free the index blocks of the affected indexes. Re-enabling indexes
      creates new indexes with new blocks. The old blocks remain unused
      in the index file.
      
      Fixed by dropping and re-creating all indexes if non-empty disabled
      indexes exist when enabling indexes. Dropping all indexes resets
      the internal end-of-file marker to the end of the index file header.
      It also clears the root block pointers of every index and clears the
      deleted blocks chains. This way all blocks are declared as free.
      30b409bd
  2. 05 Nov, 2007 2 commits
  3. 02 Nov, 2007 8 commits
  4. 01 Nov, 2007 3 commits
  5. 31 Oct, 2007 2 commits
  6. 30 Oct, 2007 5 commits
  7. 29 Oct, 2007 4 commits
  8. 26 Oct, 2007 1 commit
  9. 25 Oct, 2007 2 commits
  10. 24 Oct, 2007 3 commits
  11. 23 Oct, 2007 9 commits