mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Change an *if condition*.
Hiroshi Inoue
This commit is contained in:
parent
70b0831387
commit
058841301c
@ -1066,8 +1066,6 @@ CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
|
||||
}
|
||||
else
|
||||
{
|
||||
char clear = 0;
|
||||
|
||||
mylog("send_query: ok - 'C' - %s\n", cmdbuffer);
|
||||
|
||||
if (res == NULL) /* allow for "show" style notices */
|
||||
@ -1273,9 +1271,9 @@ CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
|
||||
}
|
||||
}
|
||||
/*
|
||||
* If retres isn't set yet.
|
||||
* Break before being ready to return.
|
||||
*/
|
||||
if (!retres)
|
||||
if (!ReadyToReturn)
|
||||
{
|
||||
if (res && QR_get_aborted(res))
|
||||
retres = res;
|
||||
|
Loading…
Reference in New Issue
Block a user