mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 10:29:27 +08:00
Patch for 0 row tables from Michael Wood
This commit is contained in:
@@ -43,7 +43,8 @@ GList *l;
|
||||
|
||||
for (i=0;i<mdb->num_catalog;i++) {
|
||||
entry = g_array_index(mdb->catalog,MdbCatalogEntry,i);
|
||||
if (!strcmp(entry.object_name,argv[2])) {
|
||||
if (entry.object_type == MDB_TABLE &&
|
||||
!strcmp(entry.object_name,argv[2])) {
|
||||
table = mdb_read_table(&entry);
|
||||
mdb_read_columns(table);
|
||||
mdb_data_dump(table);
|
||||
|
||||
Reference in New Issue
Block a user