Changeset: 65cc98087cfc for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=65cc98087cfc
Modified Files:
monetdb5/mal/mal_function.c
Branch: Dec2016
Log Message:
Protect against missing function name.
diffs (12 lines):
diff --git a/monetdb5/mal/mal_function.c b/monetdb5/mal/mal_function.c
--- a/monetdb5/mal/mal_function.c
+++ b/monetdb5/mal/mal_function.c
@@ -924,7 +924,7 @@ showFlowDetails(MalBlkPtr mb, MalStkPtr
{
(void) mb; /* fool the compiler */
(void) stk; /* fool the compiler */
- mnstr_printf(f, "n%d [fontsize=8, shape=box, label=\"%s\"]\n", pc,
getFunctionId(p));
+ mnstr_printf(f, "n%d [fontsize=8, shape=box, label=\"%s\"]\n", pc,
getFunctionId(p) ? getFunctionId(p) : "<noname>");
}
/* the stethoscope needs dot files for its graphical interface.
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list