Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22126/src/storage/bat

Modified Files:
        bat_storage.mx 
Log Message:
propagated changes of Friday Mar 21 2008 - Tuesday Mar 25 2008
from the SQL_2-22 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/21 - nielsnes: src/storage/bat/bat_storage.mx,1.12.2.1
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.13
diff -u -d -r1.12 -r1.13
--- bat_storage.mx      15 Jan 2008 10:40:24 -0000      1.12
+++ bat_storage.mx      25 Mar 2008 12:55:24 -0000      1.13
@@ -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

Reply via email to