Update of /cvsroot/monetdb/sql/src/sql
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26428
Modified Files:
replication.sql
Log Message:
cosmetics
U replication.sql
Index: replication.sql
===================================================================
RCS file: /cvsroot/monetdb/sql/src/sql/replication.sql,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- replication.sql 7 Sep 2009 06:16:49 -0000 1.3
+++ replication.sql 8 Sep 2009 12:07:12 -0000 1.4
@@ -33,18 +33,19 @@
-- It can serve multiple masters and provides a persistent
-- store for the master name. A comment can be left behind for a posteriori
-- error analysis.
-CREATE TABLE sys.replicas(
+CREATE TABLE sys.replicas (
uri varchar(100) NOT NULL,
tag int,
stamp timestamp,
- remark string);
+ remark string
+);
-- If your are the master return its uri. Otherwise locate the first master
-- value in the replicas table.
CREATE FUNCTION master() RETURNS string EXTERNAL NAME master."getName";
-- Initialize this table with the location of the current system
-INSERT INTO sys.replicas VALUES( master(), 0, now(),'Master created');
+INSERT INTO sys.replicas VALUES(master(), 0, now(), 'master created');
-- Controling the synchronisation by the slave
CREATE PROCEDURE synchronizeWithMaster(uri string) EXTERNAL NAME
master."start";
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins