Changeset: a468e65ea18c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a468e65ea18c
Modified Files:
monetdb5/modules/mal/tablet.c
Branch: Jul2015
Log Message:
bailout on detection of an unexpected EOS
diffs (16 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
@@ -1450,6 +1450,12 @@ SQLproducer(void *p)
break;
} else {
/* found an incomplete record, saved for next
round */
+ if (s+partial < end) {
+ /* found a EOS in the input */
+ tablet_error(task, lng_nil, int_nil,
"record too long (EOS found)", "");
+ ateof[cur] = 1;
+ goto reportlackofinput;
+ }
base = e;
break;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list