Changeset: edc8a3e9be2a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/edc8a3e9be2a
Modified Files:
        gdk/gdk_bat.c
Branch: Jul2021
Log Message:

Restore STORE_PRIV since we shouldn't get here anymore.


diffs (23 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -2184,8 +2184,7 @@ HEAPchangeaccess(Heap *hp, int dstmode, 
        if (dstmode == BAT_WRITE) {
                if (hp->storage != STORE_PRIV)
                        hp->dirty = true;       /* exception c does not make it 
dirty */
-//             return STORE_PRIV;      /* 4=>6,5=>7,c=>6 persistent BAT_WRITE 
needs STORE_PRIV */
-               return STORE_MMAP;
+               return STORE_PRIV;      /* 4=>6,5=>7,c=>6 persistent BAT_WRITE 
needs STORE_PRIV */
        }
        if (hp->storage == STORE_MMAP) {        /* 6=>4 */
                hp->dirty = true;
@@ -2213,8 +2212,7 @@ HEAPcommitpersistence(Heap *hp, bool wri
 
        if (hp->newstorage == STORE_MMAP)
                hp->dirty = true;       /* 2=>6 */
-//     return STORE_PRIV;      /* 1=>5,2=>6,3=>7,a=>c,b=>6 states */
-       return STORE_MMAP;
+       return STORE_PRIV;      /* 1=>5,2=>6,3=>7,a=>c,b=>6 states */
 }
 
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to