mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +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;
|
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.
|
* set notice message to result_in.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user