Update of /cvsroot/monetdb/MonetDB5/src/modules/kernel
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9557/src/modules/kernel
Modified Files:
pqueue.mx
Log Message:
correctly release bat resources
Index: pqueue.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/pqueue.mx,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- pqueue.mx 4 Oct 2007 10:37:28 -0000 1.26
+++ pqueue.mx 6 Nov 2007 23:24:06 -0000 1.27
@@ -616,9 +616,9 @@
if( (b= BATdescriptor(*bid)) == NULL)
throw(MAL, "pqueue.init","Could not access BAT");
pqueue_init(&bn,b,maxsize);
+ BBPreleaseref(b->batCacheid);
*ret = bn->batCacheid;
- BBPkeepref(b->batCacheid);
- BBPreleaseref(bn->batCacheid);
+ BBPkeepref(bn->batCacheid);
return MAL_SUCCEED;
}
@-
-------------------------------------------------------------------------
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