A fix for bug #669739 that became a mdb_crack_row4 rewrite. Thanks to Luciano Miguel Wolf and Alexandre Horst for the bug analysis and the initial patch.

This commit is contained in:
whydoubt
2004-08-05 03:33:41 +00:00
parent 8cd1797f3c
commit f2125dd3bc
5 changed files with 61 additions and 99 deletions

View File

@@ -79,6 +79,7 @@ MdbTableDef *mdb_read_table(MdbCatalogEntry *entry)
len = mdb_pg_get_int16(mdb,8);
table->num_rows = mdb_pg_get_int32(mdb, fmt->tab_num_rows_offset);
table->num_var_cols = mdb_pg_get_int16(mdb, fmt->tab_num_cols_offset-2);
table->num_cols = mdb_pg_get_int16(mdb, fmt->tab_num_cols_offset);
table->num_idxs = mdb_pg_get_int32(mdb, fmt->tab_num_idxs_offset);
table->num_real_idxs = mdb_pg_get_int32(mdb, fmt->tab_num_ridxs_offset);