Update of /cvsroot/monetdb/sql/src/storage
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16818/src/storage
Modified Files:
sql_storage.h
Log Message:
propagated changes of Sunday Sep 20 2009 - Monday Sep 21 2009
from the Aug2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/09/20 - nielsnes: src/storage/sql_storage.h,1.57.2.3
protect against schema changes in readonly mode.
added test
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: sql_storage.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/sql_storage.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- sql_storage.h 12 Aug 2009 17:40:52 -0000 1.59
+++ sql_storage.h 21 Sep 2009 14:13:47 -0000 1.60
@@ -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