Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20425

Modified Files:
      Tag: XQuery_0-18
        serialize.mx 
Log Message:
* fix serialization bug on 'updateble' collections.



Index: serialize.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/serialize.mx,v
retrieving revision 1.96
retrieving revision 1.96.2.1
diff -u -d -r1.96 -r1.96.2.1
--- serialize.mx        20 May 2007 00:25:04 -0000      1.96
+++ serialize.mx        12 Jun 2007 11:16:52 -0000      1.96.2.1
@@ -1539,7 +1539,8 @@
                        res = GDK_SUCCEED;
                } else { /* the new container implementation */
                   getWsValue(p, ctx, docIndex, PRE_SIZE, start_oid);
-                 oid sz = *(int*) p;
+                 /* oid sz = *(int*) p; */
+                 oid sz = (*(int*) p) & ~(1<<31);
                   if (emitNodesInRange (ctx, start_oid,start_oid+sz, NULL, 
docIndex)) {
                     if (ctx->driverFun->handle_endDocument(ctx)) {
                         res = GDK_SUCCEED;


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to