Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f329290

Browse files
committed
More comment for libpgeasy.
1 parent 2e05d3e commit f329290

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/interfaces/libpgeasy/libpgeasy.c

+4-5
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,16 @@
2727
static PGconn *conn;
2828
static PGresult *res = NULL;
2929

30+
static int tuple; /* stores fetch location */
31+
3032
#define ON_ERROR_STOP 0
3133
#define ON_ERROR_CONTINUE 1
3234

33-
static int on_error_state = ON_ERROR_STOP;
35+
static int on_error_state = ON_ERROR_STOP; /* halt on errors? */
3436

35-
static int in_result_block = FALSE;
37+
static int in_result_block = FALSE;
3638
static int was_get_unset_result = FALSE;
3739

38-
/* LOCAL VARIABLES */
39-
static int tuple;
40-
4140
/*
4241
*
4342
* connectdb - returns PGconn structure

0 commit comments

Comments
 (0)