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

Modified Files:
      Tag: XQuery_0-16
        xrpc_client.mx 
Log Message:
All "insertNode" tests fail due to SIGSEGV
This check-in should fix the problem.




Index: xrpc_client.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_client.mx,v
retrieving revision 1.6.2.8
retrieving revision 1.6.2.9
diff -u -d -r1.6.2.8 -r1.6.2.9
--- xrpc_client.mx      27 Feb 2007 17:40:29 -0000      1.6.2.8
+++ xrpc_client.mx      27 Feb 2007 18:10:15 -0000      1.6.2.9
@@ -1149,6 +1149,8 @@
             }
             return GDK_FAIL;
         }
+    } else {
+        ptr = b->buf;
     }
     time_xrpcClntDeSeria = GDKusec() - time_xrpcClntDeSeria;
 
@@ -1163,8 +1165,11 @@
                 bytes_sent, bytes_received);
     }
 
-    if( (ptr+= 2) && strstr(ptr, "XRPC_Server_Timing") ){
-        ptr += 19;
+    ptr = strstr(ptr, "XRPC_Server_Timing");
+    if (ptr) {
+        ptr += 18; /* Skip "XRPC_Server_Timing" */
+        /* Find the start of the real timing info */
+        ptr = strstr(ptr, "XRPC");
         stream_printf(GDKout, strstr(ptr, "XRPC_"));
         stream_printf(GDKout, "\n");
     }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to