Changeset: 770810ebef61 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=770810ebef61
Modified Files:
MonetDB5/src/modules/mal/replication.mx
Branch: default
Log Message:
consistently use TRUE/FALSE
diffs (39 lines):
diff -r eb4eb664a3ee -r 770810ebef61 MonetDB5/src/modules/mal/replication.mx
--- a/MonetDB5/src/modules/mal/replication.mx Fri Jul 16 15:12:07 2010 +0200
+++ b/MonetDB5/src/modules/mal/replication.mx Fri Jul 16 15:17:56 2010 +0200
@@ -417,7 +417,7 @@
static oid cutoffTag = 0; /* to signal out of date slaves */
static char logFile[PATHLENGTH]="";
static stream *repFile = 0;
-static int sendLogs = 0; /* permit forwarding of log records */
+static int sendLogs = FALSE; /* permit forwarding of log records */
/* slave synchronisation status */
static BAT *slavetid = 0;
@@ -976,7 +976,7 @@
}
if (mapi_ping(masterstatus[idx].m) != MOK)
break; /* slave is gone */
- if (sendLogs == 0) {
+ if (sendLogs == FALSE) {
/* suspend sending */
MT_sleep_ms(REPLICADELAY);
continue;
@@ -1042,7 +1042,7 @@
MASTERstop(int *ret)
{
(void)ret;
- sendLogs = 0;
+ sendLogs = FALSE;
return MAL_SUCCEED;
}
@@ -1077,7 +1077,7 @@
stream_close(repFile);
repFile = NULL;
- sendLogs = 0;
+ sendLogs = FALSE;
GDKremovedir(MASTER);
mkdir(MASTER, 0755); /* ensure existance of the replica pool */
cutoffTag = startTag = endTag; /* the next one to expect */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list