mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
fix for fixed text files
made it so memo fields get quoted in mdb-export.c
This commit is contained in:
@@ -70,7 +70,9 @@ char quote_text = 1;
|
||||
fprintf(stdout,"%s",bound_values[0]);
|
||||
for (j=1;j<table->num_cols;j++) {
|
||||
col=g_ptr_array_index(table->columns,j);
|
||||
if (quote_text && col->col_type==MDB_TEXT) {
|
||||
if (quote_text &&
|
||||
(col->col_type==MDB_TEXT ||
|
||||
col->col_type==MDB_MEMO)) {
|
||||
fprintf(stdout,"%s\"%s\"",delimiter,bound_values[j]);
|
||||
} else {
|
||||
fprintf(stdout,"%s%s",delimiter,bound_values[j]);
|
||||
|
||||
Reference in New Issue
Block a user