Destroy index



next up previous
Next: Directory handling Up: Internal Design Previous: Create/Open index

Destroy index

When an index is destroyed, the whole index is traversed from top to the bottom and all pages are destroyed. After that, the db will be told to delete the file entry and a destroyed flag in the index object is set to true so that any subsequent operations on this index through this index object will be denied.



Weiqing Huang
Sun May 14 16:22:27 CDT 1995