bug fix patches from Michael Wood.

This commit is contained in:
brianb
2000-04-07 00:48:48 +00:00
parent c12b9ec987
commit 77aecf0269
3 changed files with 7 additions and 2 deletions

View File

@@ -42,7 +42,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])) {
mdb_table_dump(&entry);
}
}