Update of /cvsroot/monetdb/sql/src/storage
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6882/storage
Modified Files:
Tag: Aug2009
sql_storage.h
Log Message:
protect against schema changes in readonly mode.
added test
U sql_storage.h
Index: sql_storage.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/sql_storage.h,v
retrieving revision 1.57.2.2
retrieving revision 1.57.2.3
diff -u -d -r1.57.2.2 -r1.57.2.3
--- sql_storage.h 12 Aug 2009 11:25:36 -0000 1.57.2.2
+++ sql_storage.h 20 Sep 2009 19:39:36 -0000 1.57.2.3
@@ -42,6 +42,8 @@
store_bpm /* bat partition manager */
} store_type;
+#define STORE_READONLY(st) (st == store_ro || st == store_suro)
+
extern sql_trans *gtrans;
extern int store_nr_active;
extern store_type active_store_type;
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins