8000 fixed segmentation fault (in client) for empty query results, e.g. for · mpws2013n1/postgres@b263fc8 · GitHub
[go: up one dir, main page]

Skip to content

Commit b263fc8

Browse files
author
mariaHpi
committed
fixed segmentation fault (in client) for empty query results, e.g. for
explain statements
1 parent 7342a7e commit b263fc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/interfaces/libpq/fe-exec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ PQmakeEmptyPGresult(PGconn *conn, ExecStatusType status)
162162
result->curBlock = NULL;
163163
result->curOffset = 0;
164164
result->spaceLeft = 0;
165+
result->statistics = NULL;
165166

166167
if (conn)
167168
{

0 commit comments

Comments
 (0)
0