Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16185/src/gdk

Modified Files:
        gdk_bbp.mx 
Log Message:
relax assert in BBPincref. Its allowed to incref a bat (which used to be
persistent) even if all references are released (ie lrefs and refs == 0).


Index: gdk_bbp.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_bbp.mx,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -d -r1.205 -r1.206
--- gdk_bbp.mx  14 Nov 2007 12:38:09 -0000      1.205
+++ gdk_bbp.mx  21 Dec 2007 11:52:48 -0000      1.206
@@ -1281,7 +1281,7 @@
                                gdk_set_lock(GDKswapLock(i), "BBPincref spin 
wait");
                        }
                }
-               assert(BBP_refs(i)+BBP_lrefs(i));
+               assert(BBP_refs(i)+BBP_lrefs(i) || BBP_status(i)&BBPDELETED);
 
                /* got the lock */
                if (logical) {


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to