Commit 5e14c939 authored by Hiroshi Inoue's avatar Hiroshi Inoue

Fix a coversation error with pre 6.4 versions.

Hiroshi Inoue
parent 5be2182e
......@@ -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.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment