~launchpad-committers/ubuntu/lucid/slony1/ppa-8.4

« back to all changes in this revision

Viewing changes to src/slonik/slonik.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut
  • Date: 2008-11-01 14:28:08 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20081101142808-kp7y6y20icbm0ru0
Tags: upstream-1.2.15
ImportĀ upstreamĀ versionĀ 1.2.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 *      Copyright (c) 2003-2004, PostgreSQL Global Development Group
7
7
 *      Author: Jan Wieck, Afilias USA INC.
8
8
 *
9
 
 *      $Id: slonik.c,v 1.67.2.16 2008-03-07 19:01:37 cbbrowne Exp $
 
9
 *      $Id: slonik.c,v 1.67.2.17 2008-06-03 18:54:42 wieck Exp $
10
10
 *-------------------------------------------------------------------------
11
11
 */
12
12
 
1281
1281
                                        (SlonikStmt_init_cluster *) hdr;
1282
1282
 
1283
1283
                                        if (slonik_init_cluster(stmt) < 0)
 
1284
                                                errors++;
 
1285
                                }
 
1286
                                break;
 
1287
 
1284
1288
                        case STMT_REPAIR_CONFIG:
1285
 
                                        {
1286
 
                                                SlonikStmt_repair_config *stmt =
1287
 
                                                (SlonikStmt_repair_config *) hdr;
 
1289
                                {
 
1290
                                        SlonikStmt_repair_config *stmt =
 
1291
                                        (SlonikStmt_repair_config *) hdr;
1288
1292
 
1289
 
                                                if (slonik_repair_config(stmt) < 0)
1290
 
                                                        errors++;
1291
 
                                        }
1292
 
                                        break;
1293
 
                                        errors++;
 
1293
                                        if (slonik_repair_config(stmt) < 0)
 
1294
                                                errors++;
1294
1295
                                }
1295
1296
                                break;
1296
1297