mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Fix a coversation error with pre 6.4 versions.
Hiroshi Inoue
This commit is contained in:
parent
5be2182e47
commit
5e14c9397d
@ -1272,6 +1272,18 @@ CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
|
||||
break;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* If retres isn't set yet.
|
||||
*/
|
||||
if (!retres)
|
||||
{
|
||||
if (res && QR_get_aborted(res))
|
||||
retres = res;
|
||||
else if (tuples_return)
|
||||
retres = result_in;
|
||||
else
|
||||
retres = res;
|
||||
}
|
||||
/*
|
||||
* set notice message to result_in.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user