Changeset: 42836884c115 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=42836884c115
Modified Files:
        sql/backends/monet5/sql.mx
Branch: Feb2013
Log Message:

vacuum(): fixed overflow bail-out condition:

If we can handle at most 2048 BATs, we better bail-out when ever we
have more than 2048 BATs, not only when we have exactly 2049 BATs.


diffs (12 lines):

diff --git a/sql/backends/monet5/sql.mx b/sql/backends/monet5/sql.mx
--- a/sql/backends/monet5/sql.mx
+++ b/sql/backends/monet5/sql.mx
@@ -6840,7 +6840,7 @@ vacuum(Client cntxt, MalBlkPtr mb, MalSt
                        bids[i+1]=0;
                }
        }
-       if ( i == 2048 ) {
+       if ( i >= 2048 ) {
                for( i--; i>=0; i--)
                        BBPdecref(bids[i], TRUE);
                store_unlock();
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to