Chris Browne cbbrowne at lists.slony.info
Thu Feb 14 13:51:09 PST 2008
Update of /home/cvsd/slony1/slony1-engine/src/slonik
In directory main.slony.info:/tmp/cvs-serv18113

Modified Files:
      Tag: REL_1_2_STABLE
	slonik.c 
Log Message:
Previous patch was wrong; we complain if no_spool is TRUE, not if it
is FALSE


Index: slonik.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.67.2.14
retrieving revision 1.67.2.15
diff -C2 -d -r1.67.2.14 -r1.67.2.15
*** slonik.c	14 Feb 2008 20:46:08 -0000	1.67.2.14
--- slonik.c	14 Feb 2008 21:51:07 -0000	1.67.2.15
***************
*** 326,330 ****
  					}
  
! 					if (!stmt->no_spool)
  					{
  						printf("Slonik command STORE NODE does not "
--- 326,330 ----
  					}
  
! 					if (stmt->no_spool)
  					{
  						printf("Slonik command STORE NODE does not "
***************
*** 332,338 ****
  						       "to TRUE.\n  See logshipping.html for "
  						       "documentation on setting up log shipping.\n");
- 						if (script_check_adminfo(hdr, stmt->no_id) < 0)
  							errors++;
  					}
  					if (script_check_adminfo(hdr, stmt->ev_origin) < 0)
  						errors++;
--- 332,339 ----
  						       "to TRUE.\n  See logshipping.html for "
  						       "documentation on setting up log shipping.\n");
  							errors++;
  					}
+ 					if (script_check_adminfo(hdr, stmt->no_id) < 0)
+ 						errors++;
  					if (script_check_adminfo(hdr, stmt->ev_origin) < 0)
  						errors++;



More information about the Slony1-commit mailing list