aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/ecpg.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>1999-04-14 18:51:37 +0000
committerMichael Meskes <meskes@postgresql.org>1999-04-14 18:51:37 +0000
commit29e2916827467f7d2f8f38c57dc294f65576f4a9 (patch)
tree9ba0a1e6fd866b0ed69dcc5a30b50e1deb74753c /src/interfaces/ecpg/preproc/ecpg.c
parent9a4344e73e02eeed321cdc1ca63ae50405808ef0 (diff)
downloadpostgresql-29e2916827467f7d2f8f38c57dc294f65576f4a9.tar.gz
postgresql-29e2916827467f7d2f8f38c57dc294f65576f4a9.zip
*** empty log message ***
Diffstat (limited to 'src/interfaces/ecpg/preproc/ecpg.c')
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c
index 6b37442c836..b385b2a197c 100644
--- a/src/interfaces/ecpg/preproc/ecpg.c
+++ b/src/interfaces/ecpg/preproc/ecpg.c
@@ -23,7 +23,7 @@ extern char *optarg;
#include "extern.h"
struct _include_path *include_paths;
-int no_auto_trans = 0;
+int autocommit = 0;
struct cursor *cur = NULL;
struct typedefs *types = NULL;
@@ -76,7 +76,7 @@ main(int argc, char *const argv[])
add_include_path(optarg);
break;
case 't':
- no_auto_trans = 1;
+ autocommit = 1;
break;
case 'v':
fprintf(stderr, "ecpg - the postgresql preprocessor, version: %d.%d.%d\n", MAJOR_VERSION, MINOR_VERSION, PATCHLEVEL);