Make mdb-check compilable

This commit is contained in:
whydoubt
2004-04-14 00:13:00 +00:00
parent 4953cee0af
commit edd22153c6
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
Tue Apr 13 19:08:51 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* src/util/mdb-check.c: Make mdb-check compilable
Tue Apr 13 15:25:26 EDT 2004 Brian Bruns <brian@bruns.com> Tue Apr 13 15:25:26 EDT 2004 Brian Bruns <brian@bruns.com>
* include/mdbtools.h: * include/mdbtools.h:
* src/sql/mdbsql.c: * src/sql/mdbsql.c:

View File

@@ -84,6 +84,8 @@ int opt;
if ((tabname && !strcmp(entry->object_name,tabname)) || if ((tabname && !strcmp(entry->object_name,tabname)) ||
(!tabname )) { (!tabname )) {
// && strncmp (entry->object_name, "MSys", 4))) { // && strncmp (entry->object_name, "MSys", 4))) {
int ret;
table = mdb_read_table(entry); table = mdb_read_table(entry);
/* get the columns */ /* get the columns */
@@ -97,6 +99,7 @@ int opt;
//check_ret(table, ret); //check_ret(table, ret);
} }
} }
}
mdb_free_handle (mdb); mdb_free_handle (mdb);
mdb_exit(); mdb_exit();