[Monetdb-developers] [Monetdb-checkins] MonetDB5/src/modules/atoms blob.mx, , 1.43, 1.44 str.mx, , 1.76, 1.77 xml.mx, , 1.19, 1.20

Martin Kersten Martin.Kersten at cwi.nl
Wed Jul 30 23:26:27 CEST 2008


Stefan Manegold wrote:
> On Wed, Jul 30, 2008 at 08:02:16AM +0000, Martin Kersten wrote:
>   
>> Update of /cvsroot/monetdb/MonetDB5/src/modules/atoms
>> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22933/atoms
>>
>> Modified Files:
>> 	blob.mx str.mx xml.mx 
>> Log Message:
>> Silenceing the compiler on windows.
>> Strings and BATcount are always less then 4GB
>>     
>
> Even if so, int (signed) allows only 2^31 - 1, i.e., "2GB".
>   
sure
> Moreover, in the 64-bit case (in particular with 64-bit OIDs), neither the
> length of strings nor the tuple (BUN) count of BATs is formally restricted
> to 2^31 - 1 (or 2^32 - 1) --- in fact, breaking through this limit is one of
> the reasons for / features of the 64-bit port of MonetDB --- how efficiently
> such larger strings and BATs are handled is a different question ...
>   
and that would be my target
> That's why I used to guard all down-cast that I added with an assertion to
> detect overflows ...
>
>   
The places of the asserts should be limited to the periphery and where 
larger structures are created.

> Stefan
>
>   





More information about the developers-list mailing list