Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5677
Modified Files:
Tag: Feb2009
serialize_pftijah.mx
Log Message:
try to fix indexing bug on 64bit systems
U serialize_pftijah.mx
Index: serialize_pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/serialize_pftijah.mx,v
retrieving revision 1.68
retrieving revision 1.68.2.1
diff -u -d -r1.68 -r1.68.2.1
--- serialize_pftijah.mx 20 Jan 2009 15:24:33 -0000 1.68
+++ serialize_pftijah.mx 25 Mar 2009 13:17:56 -0000 1.68.2.1
@@ -157,15 +157,15 @@
newsize =
MAX(MIN(MAX(MINCHUNK,dbat->raw_max*2),(BUN)(dbat->raw_max+MAXCHUNK)),(BUN)min_i);
}
- /* first check if the number of BUN's < INT_MAX. If this was the case
- * and the previous time INT_MAX was returned this means the BAT cannot
+ /* first check if the number of BUN's < GDK_oid_max. If this was the case
+ * and the previous time GDK_oid_max was returned this means the BAT cannot
* grow any longer.
*/
- if ( newsize > INT_MAX ) {
- newsize = INT_MAX;
+ if ( newsize > GDK_oid_max ) {
+ newsize = GDK_oid_max;
- if ( dbat->raw_max == INT_MAX ) {
- GDKerror("dbat_extend: BATextend[\"%s\"](size>INT_MAX)
fails\n","incomplete");
+ if ( dbat->raw_max == GDK_oid_max ) {
+ GDKerror("dbat_extend: BATextend[\"%s\"](size>GDK_oid_max)
fails\n","incomplete");
return -1;
}
}
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins