mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Deleted rows bugfix (David Mansfield)
This commit is contained in:
@@ -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
|
||||
|
@@ -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));
|
||||
|
Reference in New Issue
Block a user