Update of /cvsroot/monetdb/MonetDB4/src/modules/plain
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30258/src/modules/plain
Modified Files:
Tag: MonetDB_4-18
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/MonetDB4/src/modules/plain/pqueue.mx,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -d -r1.3.2.1 -r1.3.2.2
--- pqueue.mx 16 Aug 2007 21:28:44 -0000 1.3.2.1
+++ pqueue.mx 19 Aug 2007 19:06:54 -0000 1.3.2.2
@@ -423,7 +423,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