Changeset: e70fa03b4ca8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e70fa03b4ca8
Modified Files:
        sql/storage/bat/bat_storage.c
Branch: default
Log Message:

more aggressive use of bats vs bat copy/append in sql storage code.


diffs (12 lines):

diff --git a/sql/storage/bat/bat_storage.c b/sql/storage/bat/bat_storage.c
--- a/sql/storage/bat/bat_storage.c
+++ b/sql/storage/bat/bat_storage.c
@@ -438,7 +438,7 @@ delta_append_bat( sql_delta *bat, BAT *i
                bat->cached = NULL;
        }
        assert(!c || BATcount(c) == bat->ibase);
-       if (!bat->ibase && BATcount(b) == 0 && BBP_refs(id) == 1 && 
BBP_lrefs(id) == 1 && !isVIEW(i) && i->ttype && i->S->role == PERSISTENT){
+       if (BATcount(b) == 0 && BBP_refs(id) == 1 && BBP_lrefs(id) == 1 && 
!isVIEW(i) && i->ttype && i->S->role == PERSISTENT){
                temp_destroy(bat->ibid);
                bat->ibid = id;
                temp_dup(id);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to