Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3380/compiler/debug
Modified Files:
Tag: PF_ROX
logdebug.c physdebug.c
Log Message:
propagated changes of Monday Jun 16 2008
from the development trunk to the PF_ROX branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/16 - sjoerd: compiler/algebra/map/map_ori_names.c,1.35
compiler/algebra/prop/prop_trace_names.c,1.24
compiler/debug/logdebug.c,1.104 compiler/debug/physdebug.c,1.64
compiler/mil/milgen.brg,1.164
propagated changes of Friday Jun 13 2008 - Monday Jun 16 2008
from the XQuery_0-24 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/13 - tsheyar: compiler/algebra/prop/prop_trace_names.c,1.23.2.1
-- Try to fix bug #1991938 XQ: iter in join
During name tracing keep conflicting names until the end as a projection
may map them shortly before the last operator into the same column name.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/13 - tsheyar: compiler/debug/logdebug.c,1.100.2.3
compiler/debug/physdebug.c,1.62.2.2 compiler/mil/milgen.brg,1.157.2.16
-- small fixes
- do not address the static column name in MIL generation
(for the fun_call operator the order of the schema stays fixed)
- fun_call operators without QNames should not result in a segfault
during debug printing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/13 - tsheyar: compiler/algebra/map/map_ori_names.c,1.33.2.3
-- avoid double memory allocation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
U logdebug.c
Index: logdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/logdebug.c,v
retrieving revision 1.89.2.9
retrieving revision 1.89.2.10
diff -u -d -r1.89.2.9 -r1.89.2.10
--- logdebug.c 6 Jun 2008 14:25:38 -0000 1.89.2.9
+++ logdebug.c 16 Jun 2008 10:41:17 -0000 1.89.2.10
@@ -935,10 +935,15 @@
break;
case la_fun_call:
- PFarray_printf (dot,
- "%s function \\\"%s\\\" (",
- PFalg_fun_call_kind_str (n->sem.fun_call.kind),
- PFqname_uri_str (n->sem.fun_call.qname));
+ if (PFqname_loc (n->sem.fun_call.qname))
+ PFarray_printf (dot,
+ "%s function \\\"%s\\\" (",
+ PFalg_fun_call_kind_str (n->sem.fun_call.kind),
+ PFqname_uri_str (n->sem.fun_call.qname));
+ else
+ PFarray_printf (dot,
+ "%s function (",
+ PFalg_fun_call_kind_str
(n->sem.fun_call.kind));
for (unsigned int i = 0; i < n->schema.count; i++)
PFarray_printf (dot, "%s%s",
i?", ":"",
U physdebug.c
Index: physdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/physdebug.c,v
retrieving revision 1.50.2.8
retrieving revision 1.50.2.9
diff -u -d -r1.50.2.8 -r1.50.2.9
--- physdebug.c 31 May 2008 11:45:16 -0000 1.50.2.8
+++ physdebug.c 16 Jun 2008 10:41:19 -0000 1.50.2.9
@@ -598,10 +598,15 @@
break;
case pa_fun_call:
- PFarray_printf (dot,
- "%s function \\\"%s\\\" (",
- PFalg_fun_call_kind_str (n->sem.fun_call.kind),
- PFqname_uri_str (n->sem.fun_call.qname));
+ if (PFqname_loc (n->sem.fun_call.qname))
+ PFarray_printf (dot,
+ "%s function \\\"%s\\\" (",
+ PFalg_fun_call_kind_str (n->sem.fun_call.kind),
+ PFqname_uri_str (n->sem.fun_call.qname));
+ else
+ PFarray_printf (dot,
+ "%s function (",
+ PFalg_fun_call_kind_str
(n->sem.fun_call.kind));
for (unsigned int i = 0; i < n->schema.count; i++)
PFarray_printf (dot, "%s%s",
i?", ":"",
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins