Update of /cvsroot/monetdb/sql/src/sql
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13017
Modified Files:
replication.sql
Log Message:
Beware of declaration order and string quotes
U replication.sql
Index: replication.sql
===================================================================
RCS file: /cvsroot/monetdb/sql/src/sql/replication.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- replication.sql 6 Sep 2009 12:21:51 -0000 1.1
+++ replication.sql 6 Sep 2009 12:39:08 -0000 1.2
@@ -39,13 +39,13 @@
stamp timestamp,
remark string);
--- Initialize this table with the location of the current system
-INSERT INTO sys.replicas VALUES( master(), 0, now(),"Master created");
-
-- 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');
+
-- Controling the synchronisation by the slave
CREATE PROCEDURE synchronizeWithMaster(uri string) EXTERNAL NAME
master."start";
CREATE PROCEDURE synchronizeWithMaster(uri string, tag bigint) 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