Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1988/compiler/algebra/prop
Modified Files:
Tag: XQuery_0-24
prop_ocol.c
Log Message:
* fix the replace-element update function
- the core translation was not casting the uA to string when constracting
a text node,
- the assert was asserting aat_str instead of aat_pnode.
* made the findnodes milgen code slightly more compact.
U prop_ocol.c
Index: prop_ocol.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_ocol.c,v
retrieving revision 1.60
retrieving revision 1.60.2.1
diff -u -d -r1.60 -r1.60.2.1
--- prop_ocol.c 9 May 2008 19:24:58 -0000 1.60
+++ prop_ocol.c 28 May 2008 11:08:15 -0000 1.60.2.1
@@ -565,7 +565,7 @@
break;
case alg_fun_upd_replace_element:
assert(ocol_at (L(n), ix[0]).type & aat_pnode);
- assert(ocol_at (L(n), ix[1]).type & aat_str);
+ assert(ocol_at (L(n), ix[1]).type & aat_pnode);
assert((ocol_at (L(n), ix[0]).type << 4) &
aat_pnode1);
break;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins