[Monetdb-developers] overflow checks in the Pathfinder shredder?

Jan Flokstra flokstra at cs.utwente.nl
Wed Jun 21 13:47:48 CEST 2006


We check the main PRE number against INT_MAX and we check if the the size of a 
BAT does not try grow beyond INT_MAX.
 We do not check the 'level' and 'size' values against the max values you 
mentioned. I will add these checks and change the max value for PRE numbers 
from INT_MAX into GDK_oid_max,


On Wednesday 21 June 2006 13:39, Stefan Manegold wrote:
> Jan F. (and/or others),
> did I understand you correctly on Tuesday that there are checks
> in the pathfinder shredder (XQuery_0-12 release branch)
> that detect overflows in case of huge documents, i.e.,
> 	level > GDK_chr_max
> 	size  > GDK_int_max
> 	OIDs  > GDK_oid_max
> and generate the respective errors?
> If not, shouldn't we add them, and trigger a proper error in case they
> occur?
> The same question arises also for (intermediate) results during query
> processing...
> Stefan

More information about the developers-list mailing list