Hi all,
Attached is a patch which removes some code from script_exec_stmts(). It
looks as though the STMT_REPAIR_CONFIG case was pasted inadvertantly into
the STMT_INIT_CLUSTER branch.
Thanks,
Gavin
diff -c -p -r1.67 slonik.c
*** src/slonik/slonik.c 4 Aug 2006 20:31:27 -0000 1.67
--- src/slonik/slonik.c 21 Aug 2006 09:27:24 -0000
*************** script_exec_stmts(SlonikScript * script,
*** 1272,1287 ****
(SlonikStmt_init_cluster *) hdr;
if (slonik_init_cluster(stmt) < 0)
! case STMT_REPAIR_CONFIG:
! {
! SlonikStmt_repair_config *stmt =
! (SlonikStmt_repair_config *)
hdr;
!
! if (slonik_repair_config(stmt)
< 0)
! errors++;
! }
! break;
! errors++;
}
break;
--- 1272,1278 ----
(SlonikStmt_init_cluster *) hdr;
if (slonik_init_cluster(stmt) < 0)
! errors++;
}
break;
_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general