Skip to content
Snippets Groups Projects
Commit 5aa6e46e authored by Stephen R. van den Berg's avatar Stephen R. van den Berg
Browse files

pgsql: Stop at the first non-object portal.

parent f35c508e
No related branches found
No related tags found
No related merge requests found
...@@ -1185,7 +1185,7 @@ private void procmessage() { ...@@ -1185,7 +1185,7 @@ private void procmessage() {
#endif #endif
portal->_purgeportal(); portal->_purgeportal();
} }
while (portal = qportals->read()); while (objectp(portal = qportals->read()));
if(!terminating && _options.reconnect) if(!terminating && _options.reconnect)
_connectfail(); _connectfail();
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment