remove jumps from column start calculation for JET4

adding -1 and -d flags to mdb-tables
added table not found message to prtable
This commit is contained in:
brianb
2002-04-21 03:09:26 +00:00
parent e7927f94bc
commit 695cc9c00a
4 changed files with 70 additions and 47 deletions

View File

@@ -28,6 +28,7 @@ unsigned char buf[2048];
MdbHandle *mdb;
MdbCatalogEntry *entry;
GList *l;
int found = 0;
if (argc<3) {
@@ -45,9 +46,13 @@ GList *l;
if (entry->object_type == MDB_TABLE &&
!strcmp(entry->object_name,argv[2])) {
mdb_table_dump(entry);
found++;
}
}
if (!found) {
fprintf(stderr,"No table named %s found.\n", argv[2]);
}
mdb_free_handle(mdb);
mdb_exit();
}