Changeset: 0d66a598c716 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0d66a598c716
Modified Files:
        monetdb5/mal/mal_interpreter.c
Branch: Jun2020
Log Message:

When tracing the algorithms, it can be very handy to also have the MAL 
instructions.


diffs (19 lines):

diff --git a/monetdb5/mal/mal_interpreter.c b/monetdb5/mal/mal_interpreter.c
--- a/monetdb5/mal/mal_interpreter.c
+++ b/monetdb5/mal/mal_interpreter.c
@@ -638,6 +638,7 @@ str runMALsequence(Client cntxt, MalBlkP
                        if (pci->fcn == NULL) {
                                ret = createException(MAL,"mal.interpreter", 
"address of pattern %s.%s missing", pci->modname, pci->fcnname);
                        } else {
+                               TRC_DEBUG(ALGO, "calling %s.%s\n", pci->modname 
? pci->modname : "<null>", pci->fcnname ? pci->fcnname : "<null>");
                                ret = (*pci->fcn)(cntxt, mb, stk, pci);
 #ifndef NDEBUG
                                if (ret == MAL_SUCCEED) {
@@ -665,6 +666,7 @@ str runMALsequence(Client cntxt, MalBlkP
                        }
                        break;
                case CMDcall:
+                       TRC_DEBUG(ALGO, "calling %s.%s\n", pci->modname ? 
pci->modname : "<null>", pci->fcnname ? pci->fcnname : "<null>");
                        ret = malCommandCall(stk, pci);
 #ifndef NDEBUG
                        if (ret == MAL_SUCCEED) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to