Changeset: 728dceac7f92 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=728dceac7f92
Modified Files:
monetdb5/modules/mal/tablet.c
Branch: Jul2015
Log Message:
fixed crash on too long records.
diffs (18 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
@@ -1309,12 +1309,12 @@ SQLproducer(void *p)
/* the input buffer should be extended, but 'base' is
not shared
between the threads, which we can not now update.
Mimick an ateof instead; */
- tablet_error(task, lng_nil, int_nil, msg,
"SQLload_file, record too long");
+ tablet_error(task, lng_nil, int_nil, "", "SQLload_file,
record too long");
ateof[cur] = 1;
#ifdef _DEBUG_TABLET_CNTRL
mnstr_printf(GDKout, "#bailout on SQLload confronted
with too large record\n");
#endif
- break;
+ goto reportlackofinput;
}
memcpy(end, task->b->buf + task->b->pos, task->b->len -
task->b->pos);
end = end + task->b->len - task->b->pos;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list