Tue Jan 30 09:30:21 PST 2007
- Previous message: [Slony1-commit] slony1-www layout.php
- Next message: [Slony1-commit] slony1-www/content cvs.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slonik
In directory main:/tmp/cvs-serv22432
Modified Files:
slonik.c
Log Message:
Per Mark Stosberg - if uninstallNode() errors out, we should report the node number
Index: slonik.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** slonik.c 12 Dec 2006 14:54:48 -0000 1.71
--- slonik.c 30 Jan 2007 17:30:19 -0000 1.72
***************
*** 3035,3038 ****
--- 3035,3039 ----
if (db_exec_command((SlonikStmt *) stmt, adminfo1, &query) < 0)
{
+ printf("Failed to exec uninstallNode() for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
***************
*** 3040,3043 ****
--- 3041,3045 ----
if (db_commit_xact((SlonikStmt *) stmt, adminfo1) < 0)
{
+ printf("Failed to commit uninstallNode() for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
***************
*** 3049,3052 ****
--- 3051,3055 ----
if (db_exec_command((SlonikStmt *) stmt, adminfo1, &query) < 0)
{
+ printf("Failed to drop schema for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
***************
*** 3054,3057 ****
--- 3057,3061 ----
if (db_commit_xact((SlonikStmt *) stmt, adminfo1) < 0)
{
+ printf("Failed to commit drop schema for node %d\n", stmt->no_id);
dstring_free(&query);
return -1;
- Previous message: [Slony1-commit] slony1-www layout.php
- Next message: [Slony1-commit] slony1-www/content cvs.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list