Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17417/compiler/debug
Modified Files:
logdebug.c
Log Message:
propagated changes of Monday Mar 09 2009 - Tuesday Mar 10 2009
from the Feb2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/03/09 - tsheyar: compiler/debug/logdebug.c,1.119.2.4
-- Logical Algebra Debug Printing:
Check for the existence of lineage property before printing it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
U logdebug.c
Index: logdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/logdebug.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- logdebug.c 1 Feb 2009 22:34:45 -0000 1.122
+++ logdebug.c 10 Mar 2009 09:55:05 -0000 1.123
@@ -1274,18 +1274,19 @@
}
/* list columns and their corresponding lineage */
for (unsigned int i = 0; i < n->schema.count; i++)
- PFarray_printf (DOT,
- i
- ? ", %s (%i.%s)"
- : "\\nlineage: %s (%i.%s)",
- PFcol_str (n->schema.items[i].name),
- PFprop_lineage (
- n->prop,
- n->schema.items[i].name)->node_id,
- PFcol_str (
- PFprop_lineage_col (
+ if (PFprop_lineage (n->prop, n->schema.items[i].name))
+ PFarray_printf (DOT,
+ i
+ ? ", %s (%i.%s)"
+ : "\\nlineage: %s (%i.%s)",
+ PFcol_str (n->schema.items[i].name),
+ PFprop_lineage (
n->prop,
- n->schema.items[i].name)));
+ n->schema.items[i].name)->node_id,
+ PFcol_str (
+ PFprop_lineage_col (
+ n->prop,
+ n->schema.items[i].name)));
}
if (*fmt == '+' || *fmt == 'F') {
unsigned int fd_count = 0;
------------------------------------------------------------------------------
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins