Changeset: e2fda4b58c9f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e2fda4b58c9f Modified Files: monetdb5/modules/mal/tablet.c Branch: Jul2017 Log Message:
Don't skip checking for nullstr when skipping first column. This fixes bug 6532. diffs (12 lines): diff --git a/monetdb5/modules/mal/tablet.c b/monetdb5/modules/mal/tablet.c --- a/monetdb5/modules/mal/tablet.c +++ b/monetdb5/modules/mal/tablet.c @@ -1023,7 +1023,7 @@ SQLload_parse_line(READERtask *task, int endoffieldcheck: ; /* check for user defined NULL string */ - if (!fmt->skip && (!quote || !fmt->null_length) && fmt->nullstr && task->fields[i][idx] && strncasecmp(task->fields[i][idx], fmt->nullstr, fmt->null_length + 1) == 0) + if ((!quote || !fmt->null_length) && fmt->nullstr && task->fields[i][idx] && strncasecmp(task->fields[i][idx], fmt->nullstr, fmt->null_length + 1) == 0) task->fields[i][idx] = 0; } } else { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list