mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 18:47:54 +08:00
Patch for 0 row tables from Michael Wood
This commit is contained in:
@@ -192,6 +192,9 @@ int mdb_fetch_row(MdbTableDef *table)
|
||||
MdbHandle *mdb = table->entry->mdb;
|
||||
int rows;
|
||||
|
||||
if (table->num_rows==0)
|
||||
return 0;
|
||||
|
||||
/* initialize */
|
||||
if (!table->cur_pg_num) {
|
||||
table->cur_pg_num=1;
|
||||
|
Reference in New Issue
Block a user