Changeset: aed2d6f9666a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/aed2d6f9666a
Modified Files:
        monetdb5/mal/mal_profiler.c
Branch: default
Log Message:

merged with jul2021


diffs (12 lines):

diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -307,7 +307,7 @@ prepareProfilerEvent(Client cntxt, MalBl
                        c =getVarName(mb, getArg(pci,j));
                        if(getVarSTC(mb,getArg(pci,j))){
                                InstrPtr stc = getInstrPtr(mb, 
getVarSTC(mb,getArg(pci,j)));
-                               if (stc &&
+                               if (stc && getModuleId(stc) &&
                                        strcmp(getModuleId(stc),"sql") ==0 &&
                                        strncmp(getFunctionId(stc),"bind",4)==0 
&&
                                        !logadd(&logbuf, 
",\"alias\":\"%s.%s.%s\"",
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to