Fix a coversation error with pre 6.4 versions.

Hiroshi Inoue
This commit is contained in:
Hiroshi Inoue 2001-09-14 01:50:33 +00:00
parent 5be2182e47
commit 5e14c9397d

View File

@ -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.
*/ */