diff options
author | Bruce Momjian | 2001-12-14 02:15:04 +0000 |
---|---|---|
committer | Bruce Momjian | 2001-12-14 02:15:04 +0000 |
commit | f3292901b91f2fd8e0ae26ca8a33c2fc88cb6aea (patch) | |
tree | 245a114c34757f148db6ab6fb266084573167636 | |
parent | 2e05d3ecdbbd4d0941215b4616e18cf4bae61333 (diff) |
More comment for libpgeasy.
-rw-r--r-- | src/interfaces/libpgeasy/libpgeasy.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/interfaces/libpgeasy/libpgeasy.c b/src/interfaces/libpgeasy/libpgeasy.c index c9bbdf39c8d..4bddece659c 100644 --- a/src/interfaces/libpgeasy/libpgeasy.c +++ b/src/interfaces/libpgeasy/libpgeasy.c @@ -27,17 +27,16 @@ static PGconn *conn; static PGresult *res = NULL; +static int tuple; /* stores fetch location */ + #define ON_ERROR_STOP 0 #define ON_ERROR_CONTINUE 1 -static int on_error_state = ON_ERROR_STOP; +static int on_error_state = ON_ERROR_STOP; /* halt on errors? */ -static int in_result_block = FALSE; +static int in_result_block = FALSE; static int was_get_unset_result = FALSE; -/* LOCAL VARIABLES */ -static int tuple; - /* * * connectdb - returns PGconn structure |