Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv22215
Modified Files:
Tag: Nov2009
merovingian_discoveryrunner.c
Log Message:
Fix: seeding the randomiser here is too late, as properties code also
relies on it, besides that, it can be omitted if discovery is enabled,
which is bad
U merovingian_discoveryrunner.c
Index: merovingian_discoveryrunner.c
===================================================================
RCS file:
/cvsroot/monetdb/sql/src/backends/monet5/merovingian/merovingian_discoveryrunner.c,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- merovingian_discoveryrunner.c 25 Sep 2009 13:54:49 -0000 1.7
+++ merovingian_discoveryrunner.c 29 Sep 2009 07:58:36 -0000 1.7.2.1
@@ -138,9 +138,6 @@
char host[128];
char service[8];
- /* seed random number generation for random delay in HELO response */
- srand(time(NULL));
-
/* start shouting around that we're here ;) request others to tell
* what databases they have */
snprintf(buf, 512, "HELO %s", _mero_hostname);
------------------------------------------------------------------------------
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