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

Modified Files:
        restrict_storage.mx 
Log Message:
BATmmap BATmadvice have an extra agrument


U restrict_storage.mx
Index: restrict_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/restrict/restrict_storage.mx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- restrict_storage.mx 27 Jan 2008 15:13:48 -0000      1.2
+++ restrict_storage.mx 14 May 2008 20:03:20 -0000      1.3
@@ -296,7 +296,7 @@
                if (BATcount(b) > 1000) 
                        BATmode(b, PERSISTENT);
                if (BATcount(b) > (size_t) REMAP_PAGE_MAXSIZE)
-                       BATmmap(b, STORE_MMAP, STORE_MMAP, STORE_MMAP);
+                       BATmmap(b, STORE_MMAP, STORE_MMAP, STORE_MMAP, 
STORE_MMAP);
                ok = log_bat_persists(restrict_logger, b, bat->name);
        }
        *cnt = BATcount(b);
@@ -398,7 +398,7 @@
                        if (BATcount(b) > 1000) 
                                BATmode(b, PERSISTENT);
                        if (BATcount(b) > (size_t) REMAP_PAGE_MAXSIZE)
-                               BATmmap(b, STORE_MMAP, STORE_MMAP, STORE_MMAP);
+                               BATmmap(b, STORE_MMAP, STORE_MMAP, STORE_MMAP, 
STORE_MMAP);
                        ok = log_bat_persists(restrict_logger, b, bat->name);
                }
                t->cnt -= BATcount(b);
@@ -588,7 +588,7 @@
                if (tr->parent == gtrans) {
                        BATmode(cb, PERSISTENT);
                        if (BATcount(cb) > (size_t) REMAP_PAGE_MAXSIZE)
-                                       BATmmap(cb, STORE_MMAP, STORE_MMAP, 
STORE_MMAP);
+                                       BATmmap(cb, STORE_MMAP, STORE_MMAP, 
STORE_MMAP, STORE_MMAP);
                        logger_add_bat(restrict_logger, cb, obat->name);
                        log_bat_persists(restrict_logger, cb, obat->name);
                }


-------------------------------------------------------------------------
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