Bugs item #1840239, was opened at 2007-11-28 14:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1840239&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: MonetDB Common CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Nobody/Anonymous (nobody)
Summary: BAT capacity checking needed

Initial Comment:
We should check that BATs don't become larger than we can deal with in the rest 
of the code.  The BUN type is defined as oid which means that if you have 
32-bit oids on a 64-bit system, you could have BATs that are too large to 
index.  This needs to be prevented from happening, so that implies we need to 
do some checking in a number of functions:

when creating a new BAT, the size cannot be larger than what can fit in an oid;
when setting a seqbase on a void column (setseqbase/mark), we should check that 
the seqbase plus the size still fits in an oid;
when appending to a BAT, we should check that the new size still fits in an 
oid, and if a column is of type void-with-seqbase, that the seqbase plus size 
also fits.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1840239&group_id=56967

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to