Update of /cvsroot/monetdb/sql/src/storage/bpm
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11808/src/storage/bpm
Modified Files:
bpm_storage.mx
Log Message:
fixes use of txtsim functions
added more optimized versions of cast of mtime types (from string)
added more optimized verion of str to string convert
added use (first steps) of rangejoin
approved tests which changed by this (rangejoin addition)
Index: bpm_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bpm/bpm_storage.mx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- bpm_storage.mx 12 Nov 2007 20:11:04 -0000 1.4
+++ bpm_storage.mx 21 Dec 2007 17:02:26 -0000 1.5
@@ -112,10 +112,8 @@
p->parts[nr].hlow = 0;
p->parts[nr].hhgh = -1;
if (nr) {
- /* this should be fixed by the update_part code which
- should remove empty partitions */
if (p->parts[nr-1].hhgh == (oid)-1)
- p->parts[nr-1].hhgh = p->parts[nr-1].hlow;
+ p->parts[nr-1].hhgh = p->parts[nr-1].hlow +
p->parts[nr-1].cnt;
p->parts[nr].hlow = p->parts[nr-1].hhgh;
}
@@ -143,6 +141,7 @@
return 1;
}
/* error */
+ assert(0);
return 0;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins