Jan Wieck wieck at lists.slony.info
Thu Aug 23 11:08:55 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv30153

Modified Files:
      Tag: REL_1_2_STABLE
	remote_worker.c 
Log Message:
little ooops

Jan


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.124.2.21
retrieving revision 1.124.2.22
diff -C2 -d -r1.124.2.21 -r1.124.2.22
*** remote_worker.c	23 Aug 2007 18:04:35 -0000	1.124.2.21
--- remote_worker.c	23 Aug 2007 18:08:53 -0000	1.124.2.22
***************
*** 5466,5479 ****
  	strcpy(node->archive_counter, PQgetvalue(res, 0, 0));
  	strcpy(node->archive_timestamp, PQgetvalue(res, 0, 1));
- 
  	PQclear(res);
  	dstring_free(&query);
! 	if (rc < 0)
! 	{
! 		slon_log(SLON_ERROR, "remoteWorkerThread_%d: "
! 				"Cannot write to archive file %s - %s\n",
! 				node->no_id, node->archive_temp, strerror(errno));
! 		return -1;
! 	}
  	sprintf(node->archive_name, "%s/slony1_log_%d_", archive_dir, 
  			node->no_id);
--- 5466,5472 ----
  	strcpy(node->archive_counter, PQgetvalue(res, 0, 0));
  	strcpy(node->archive_timestamp, PQgetvalue(res, 0, 1));
  	PQclear(res);
  	dstring_free(&query);
! 
  	sprintf(node->archive_name, "%s/slony1_log_%d_", archive_dir, 
  			node->no_id);



More information about the Slony1-commit mailing list