Changeset: 54146df9421d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/54146df9421d
Modified Files:
        monetdb5/modules/mal/manifold.c
        sql/test/BugTracker-2026/Tests/All
Branch: Dec2025
Log Message:

fix for issue #7816, manifold optimizer needs to reset the fcn pointer.


diffs (24 lines):

diff --git a/monetdb5/modules/mal/manifold.c b/monetdb5/modules/mal/manifold.c
--- a/monetdb5/modules/mal/manifold.c
+++ b/monetdb5/modules/mal/manifold.c
@@ -390,8 +390,11 @@ MANIFOLDevaluate(Client cntxt, MalBlkPtr
                goto wrapup;
        }
        */
+
+       MALfcn ofcn = mut.pci->fcn;
        mut.pci->fcn = fcn;
        msg = MANIFOLDjob(&mut);
+       mut.pci->fcn = ofcn;
 
   wrapup:
        // restore the argument types
diff --git a/sql/test/BugTracker-2026/Tests/All 
b/sql/test/BugTracker-2026/Tests/All
--- a/sql/test/BugTracker-2026/Tests/All
+++ b/sql/test/BugTracker-2026/Tests/All
@@ -32,4 +32,4 @@ KNOWNFAIL?7801-assertion-failure
 7806-numeric-no-prec-no-scale
 7813_push_down_topn
 KNOWNFAIL?7815-ALGmarkselect-crash
-KNOWNFAIL?7816-table-returning-function-crash
+7816-table-returning-function-crash
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to