Update of /cvsroot/monetdb/MonetDB5/src/modules/kernel
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30699/src/modules/kernel

Modified Files:
      Tag: MonetDB_5-0
        pqueue.mx 
Log Message:
fixed bug in pqueue any type handling. (always use BUNhloc, don't trust 
BUNfirst will give you the head value).



Index: pqueue.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/pqueue.mx,v
retrieving revision 1.23.4.1
retrieving revision 1.23.4.2
diff -u -d -r1.23.4.1 -r1.23.4.2
--- pqueue.mx   16 Aug 2007 21:29:01 -0000      1.23.4.1
+++ pqueue.mx   19 Aug 2007 19:07:15 -0000      1.23.4.2
@@ -469,7 +469,7 @@
 
   if (atom_CMP(BUNtail(h,hbase), el, tpe) @2 0) {
        BUNinplace(h, hbase, idx, el, 0);
-       *(oid*)hbase = *idx;
+       *(oid*)BUNhloc(h,hbase) = *idx;
        [EMAIL PROTECTED](h);
        h->hsorted = h->tsorted = FALSE;
   }


-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to