mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 10:29:27 +08:00
last commit failed, see ChangeLog for changes
This commit is contained in:
@@ -41,6 +41,7 @@ convert_field(MdbColumn *col, char *s, MdbField *field)
|
||||
char *c;
|
||||
MdbAny any;
|
||||
|
||||
field->colnum = col->col_num;
|
||||
switch (col->col_type) {
|
||||
case MDB_TEXT:
|
||||
field->value = g_strdup(s);
|
||||
@@ -207,6 +208,10 @@ main(int argc, char **argv)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!table) {
|
||||
fprintf(stderr,"Table %s not found in database\n", argv[argc-2]);
|
||||
exit(1);
|
||||
}
|
||||
/*
|
||||
* open the CSV file and read any header rows
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user