I'm getting a SEGV error when testing ecpg using the perftest,or
any other, example program. I have tracked this down to a call to PQfinish() in ECPGfinish() that occurs before any connection is established. From: Keith Parks <emkxp01@mtcc.demon.co.uk>
This commit is contained in:
parent
74e015916e
commit
cdfac31335
@ -24,7 +24,7 @@
|
|||||||
#include <libpq-fe.h>
|
#include <libpq-fe.h>
|
||||||
#include <libpq/pqcomm.h>
|
#include <libpq/pqcomm.h>
|
||||||
|
|
||||||
static PGconn *simple_connection;
|
static PGconn *simple_connection = NULL;
|
||||||
static int simple_debug = 0;
|
static int simple_debug = 0;
|
||||||
static FILE *debugstream = NULL;
|
static FILE *debugstream = NULL;
|
||||||
static int committed = true;
|
static int committed = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user