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

Modified Files:
        restrict_storage.mx 
Log Message:
fix compilation without asserts


Index: restrict_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/restrict/restrict_storage.mx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- restrict_storage.mx 15 Jan 2008 10:40:27 -0000      1.1
+++ restrict_storage.mx 27 Jan 2008 15:13:48 -0000      1.2
@@ -55,6 +55,9 @@
        bat_set_access(b, BAT_READ);
        b->batDirty |= 2;
        c->base.rtime = c->t->base.rtime = c->t->s->base.rtime = tr->rtime = 
tr->stime;
+#ifdef NDEBUG
+       (void) access; /* satisfy compiler */
+#endif
        assert(access != RD_UPD && access != RD_INS);
        return b;
 }
@@ -69,6 +72,9 @@
        bat_set_access(b, BAT_READ);
        b->batDirty |= 2;
        i->base.rtime = i->t->base.rtime = i->t->s->base.rtime = tr->rtime = 
tr->stime;
+#ifdef NDEBUG
+       (void) access; /* satisfy compiler */
+#endif
        assert(access != RD_UPD && access != RD_INS);
        return b;
 }


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