Changeset: 22733760e10a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=22733760e10a
Modified Files:
        sql/backends/monet5/sql.c
Branch: Apr2019
Log Message:

Fix bug 6716


diffs (15 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -2645,7 +2645,10 @@ mvc_import_table_wrap(Client cntxt, MalB
        }
 
        be = cntxt->sqlcontext;
-       if (*ssep == 0)
+       /* The CSV parser expects ssep to have the value 0 if the user does not
+        * specify a quotation character
+        */
+       if (*ssep == 0 || strcmp(ssep, str_nil) == 0)
                ssep = NULL;
 
        if (fname != NULL && strcmp(str_nil, fname) == 0)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to