Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcdfac31

Browse files
committed
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>
1 parent74e0159 commitcdfac31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/ecpg/lib/ecpglib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include<libpq-fe.h>
2525
#include<libpq/pqcomm.h>
2626

27-
staticPGconn*simple_connection;
27+
staticPGconn*simple_connection=NULL;
2828
staticintsimple_debug=0;
2929
staticFILE*debugstream=NULL;
3030
staticintcommitted= true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp