Deleted rows bugfix (David Mansfield)

This commit is contained in:
whydoubt
2005-02-10 05:53:37 +00:00
parent 0d04c9910a
commit 12bd73f38e
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
Wed Feb 9 23:37:43 CST 2005 Jeff Smith <whydoubt@yahoo.com>
* src/libmdb/data.c: Date calculation bugfix (David Mansfield)
* src/libmdb/data.c: Deleted rows bugfix (David Mansfield)
Thu Feb 3 21:12:55 CST 2005 Jeff Smith <whydoubt@yahoo.com>
* HACKING: Small documentation fix

View File

@@ -229,7 +229,7 @@ int mdb_read_row(MdbTableDef *table, unsigned int row)
MdbField fields[256];
int num_fields;
if (table->num_rows <= row)
if (table->num_rows == 0)
return 0;
row_start = mdb_pg_get_int16(mdb, (fmt->row_count_offset + 2) + (row*2));