mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-02 20:42:14 +08:00
new mdb-array.c and changes to data.c (Karl)
database password stuff from (Carl) multiple backend support (Carl and Brian)
This commit is contained in:
@@ -30,11 +30,12 @@ MdbCatalogEntry entry;
|
||||
GList *l;
|
||||
|
||||
|
||||
if (argc<2) {
|
||||
if (argc<3) {
|
||||
fprintf(stderr,"Usage: %s <file> <table>\n",argv[0]);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
mdb_init();
|
||||
mdb = mdb_open(argv[1]);
|
||||
|
||||
mdb_read_catalog(mdb, MDB_TABLE);
|
||||
@@ -47,5 +48,6 @@ GList *l;
|
||||
}
|
||||
|
||||
mdb_free_handle(mdb);
|
||||
mdb_exit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user