On Thu, 2009-10-01 at 14:10 +0400, Kevac Marko wrote:
> + if (fields[6].value != NULL) {
> + if (strstr(fields[6].value, "CLIENT_FOUND_ROWS")) {
> + flags |= CLIENT_FOUND_ROWS;
> + }
> + else if (strstr(fields[6].value, "CLIENT_MULTI_STATEMENTS"))
> {
> + flags |= CLIENT_MULTI_STATEMENTS;
> + }
> + else if (strstr(fields[6].value, "CLIENT_MULTI_RESULTS")) {
> + flags |= CLIENT_MULTI_RESULTS;
> + }
Question here (I didn't look at the manual to check): are all these
flags mutually exclusive? If they are not, we should have 3 ifs instead
of if/else if, right?
--
Bojan