CVS User Account cvsuser
Fri Aug 4 13:48:23 PDT 2006
Log Message:
-----------
Initialize vacuum_action in cleanup thread; resolving -Wall messages

Modified Files:
--------------
    slony1-engine/src/slon:
        cleanup_thread.c (r1.32 -> r1.33)

-------------- next part --------------
Index: cleanup_thread.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/cleanup_thread.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -Lsrc/slon/cleanup_thread.c -Lsrc/slon/cleanup_thread.c -u -w -r1.32 -r1.33
--- src/slon/cleanup_thread.c
+++ src/slon/cleanup_thread.c
@@ -272,10 +272,10 @@
 				dstring_reset(&query3);
 			}
 			latest_xid = get_earliest_xid(dbconn);
+			vacuum_action = "";
 			if (earliest_xid == latest_xid)
 			{
 				
-				vacuum_action = "";
 				slon_log(SLON_DEBUG4,
 					"cleanupThread: xid %d still active - analyze instead\n",
 					earliest_xid);



More information about the Slony1-commit mailing list