Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2553/src/storage/bat
Modified Files:
Tag: SQL_2-22
bat_storage.mx
Log Message:
fixed bug in bat_storage. We cannot simply replace our insert bat with the
to be inserted bat if the seqbases aren't aligned.
Index: bat_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/bat_storage.mx,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- bat_storage.mx 15 Jan 2008 10:40:24 -0000 1.12
+++ bat_storage.mx 21 Mar 2008 10:44:24 -0000 1.12.2.1
@@ -326,7 +326,7 @@
{
BAT *b = temp_descriptor(bat->ibid);
- if (BATcount(b) == 0 && !isVIEW(i) && i->htype == TYPE_void && i->ttype
!= TYPE_void){
+ if (BATcount(b) == 0 && !isVIEW(i) && i->htype == TYPE_void && i->ttype
!= TYPE_void && bat->ibase == i->H->seq){
temp_destroy(bat->ibid);
bat->ibid = temp_create(i);
BATseqbase(i, bat->ibase);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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