Bugs item #1840239, was opened at 2007-11-28 14:36
Message generated for change (Comment added) made by sjoerd
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Sjoerd Mullender (sjoerd)
>Assigned to: Sjoerd Mullender (sjoerd)
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.

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

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-07-09 16:22

Message:
Since BAT counts are now of type BUN, and everywhere where it matters we
have checks and assertions to make sure that the BATs don't grow too large,
I think we have dealt with this issue.

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

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

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to