Changeset: d1471485f261 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d1471485f261
Modified Files:
sql/backends/monet5/sql_gencode.c
Branch: Dec2016
Log Message:
Check for stack overflow due to too deep recursion.
diffs (12 lines):
diff --git a/sql/backends/monet5/sql_gencode.c
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -973,6 +973,8 @@ static int
InstrPtr q = NULL;
node *n;
+ if (THRhighwater())
+ return -1;
if (s) {
if (s->nr > 0)
return s->nr; /* stmt already handled */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list