new index code

This commit is contained in:
brianb
2001-04-01 22:10:15 +00:00
parent b40283a8f8
commit 5ceaff28ce
9 changed files with 129 additions and 15 deletions

View File

@@ -245,6 +245,7 @@ MdbHandle *mdb = entry->mdb;
if (!mdb_read_pg(mdb, table->cur_phys_pg++))
return 0;
} while (mdb->pg_buf[0]!=0x01 || mdb_get_int32(mdb, 4)!=entry->table_pg);
/* fprintf(stderr,"returning new page %ld\n", table->cur_phys_pg); */
return table->cur_phys_pg;
}
int mdb_rewind_table(MdbTableDef *table)