Jan Wieck wieck at lists.slony.info
Mon Feb 22 10:45:05 PST 2010
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv19388

Modified Files:
      Tag: REL_1_2_STABLE
	remote_worker.c 
Log Message:
Replacing the last instances of %lld with INT64_FORMAT.
The problem only affected the debug output for debug level 4.
So this is not a critical bug that can affect data.

Jan


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.124.2.40
retrieving revision 1.124.2.41
diff -C 2 -d -r1.124.2.40 -r1.124.2.41
*** remote_worker.c	9 Dec 2009 20:49:20 -0000	1.124.2.40
--- remote_worker.c	22 Feb 2010 18:45:02 -0000	1.124.2.41
***************
*** 6041,6045 ****
  				{
  					/* Finished another number... Fold it into the ranges... */
! 					slon_log(SLON_DEBUG4, "Finished number: %lld\n", curr_number);
  
  					/*
--- 6041,6045 ----
  				{
  					/* Finished another number... Fold it into the ranges... */
! 					slon_log(SLON_DEBUG4, "Finished number: " INT64_FORMAT "\n", curr_number);
  
  					/*
***************
*** 6092,6096 ****
  						if (curr_max == curr_min)
  						{
! 							slon_log(SLON_DEBUG4, "simple entry - %lld\n", curr_max);
  							slon_appendquery(action_subquery,
  										" log_actionseq <> '%L' ", curr_max);
--- 6092,6096 ----
  						if (curr_max == curr_min)
  						{
! 							slon_log(SLON_DEBUG4, "simple entry - " INT64_FORMAT "\n", curr_max);
  							slon_appendquery(action_subquery,
  										" log_actionseq <> '%L' ", curr_max);
***************
*** 6098,6102 ****
  						else
  						{
! 							slon_log(SLON_DEBUG4, "between entry - %lld %lld\n",
  									 curr_min, curr_max);
  							slon_appendquery(action_subquery,
--- 6098,6102 ----
  						else
  						{
! 							slon_log(SLON_DEBUG4, "between entry - " INT64_FORMAT " " INT64_FORMAT "\n",
  									 curr_min, curr_max);
  							slon_appendquery(action_subquery,
***************
*** 6127,6131 ****
  		if (curr_max == curr_min)
  		{
! 			slon_log(SLON_DEBUG4, "simple entry - %lld\n", curr_max);
  			slon_appendquery(action_subquery,
  							 " log_actionseq <> '%L' ", curr_max);
--- 6127,6131 ----
  		if (curr_max == curr_min)
  		{
! 			slon_log(SLON_DEBUG4, "simple entry - " INT64_FORMAT "\n", curr_max);
  			slon_appendquery(action_subquery,
  							 " log_actionseq <> '%L' ", curr_max);
***************
*** 6133,6137 ****
  		else
  		{
! 			slon_log(SLON_DEBUG4, "between entry - %lld %lld\n",
  					 curr_min, curr_max);
  			slon_appendquery(action_subquery,
--- 6133,6137 ----
  		else
  		{
! 			slon_log(SLON_DEBUG4, "between entry - " INT64_FORMAT " " INT64_FORMAT "\n",
  					 curr_min, curr_max);
  			slon_appendquery(action_subquery,



More information about the Slony1-commit mailing list