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

Modified Files:
      Tag: GDK-2
        xrpc_client.mx 
Log Message:
fix bug introduced in the GDK-2 port. Now correctly use BUNtail again.



Index: xrpc_client.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_client.mx,v
retrieving revision 1.38.4.1
retrieving revision 1.38.4.2
diff -u -d -r1.38.4.1 -r1.38.4.2
--- xrpc_client.mx      14 Aug 2007 14:04:15 -0000      1.38.4.1
+++ xrpc_client.mx      20 Aug 2007 14:20:28 -0000      1.38.4.2
@@ -1115,15 +1115,19 @@
                             clean_up(sock, out, bs, b, argcnt, iterc);
                             return GDK_FAIL;
                         }
+
+                        BATiter attr_qni = bat_iterator(attr_qn);
+                        BATiter qn_prefixi = bat_iterator(qn_prefix);
+                        BATiter qn_loci = bat_iterator(qn_loc);
+                        BATiter attr_propi = bat_iterator(attr_prop);
+                        BATiter prop_vali = bat_iterator(prop_val);
                         
                         i = *(oid*)BUNtail(fun_itemi, a);
-                        bi.b = attr_qn;
-                        a = *(oid*)BUNtail(bi, i);
-                        char *prefix = (char*)Tloc(qn_prefix, a);
-                        char *loc    = (char*)Tloc(qn_loc,    a);
-                        bi.b = attr_prop;
-                        a = *(oid*)BUNtail(bi, i);
-                        char *attr_val = (char*)Tloc(prop_val, a);
+                        a = *(oid*)BUNtail(attr_qni, i);
+                        char *prefix = (char*)BUNtail(qn_prefixi, a);
+                        char *loc    = (char*)BUNtail(qn_loci,    a);
+                        a = *(oid*)BUNtail(attr_propi, i);
+                        char *attr_val = (char*)BUNtail(prop_vali, a);
 
                         str2buf(b, " ");
                         if (prefix && *prefix){


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to