client.c:
Make multi-statements the preferred option name (to coincide with the renaming of the CLIENT_MULTI_RESULTS symbol to CLIENT_MULTI_STATEMENTS). Continue to allow multi-queries for backward compatibility.
This commit is contained in:
parent
5a568a13da
commit
913f505769
@ -882,7 +882,7 @@ static const char *default_options[]=
|
|||||||
"connect-timeout", "local-infile", "disable-local-infile",
|
"connect-timeout", "local-infile", "disable-local-infile",
|
||||||
"replication-probe", "enable-reads-from-master", "repl-parse-query",
|
"replication-probe", "enable-reads-from-master", "repl-parse-query",
|
||||||
"ssl-cipher", "max-allowed-packet", "protocol", "shared-memory-base-name",
|
"ssl-cipher", "max-allowed-packet", "protocol", "shared-memory-base-name",
|
||||||
"multi-results", "multi-queries", "secure-auth",
|
"multi-results", "multi-statements", "multi-queries", "secure-auth",
|
||||||
NullS
|
NullS
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1088,9 +1088,10 @@ void mysql_read_default_options(struct st_mysql_options *options,
|
|||||||
options->client_flag|= CLIENT_MULTI_RESULTS;
|
options->client_flag|= CLIENT_MULTI_RESULTS;
|
||||||
break;
|
break;
|
||||||
case 31:
|
case 31:
|
||||||
|
case 32:
|
||||||
options->client_flag|= CLIENT_MULTI_STATEMENTS | CLIENT_MULTI_RESULTS;
|
options->client_flag|= CLIENT_MULTI_STATEMENTS | CLIENT_MULTI_RESULTS;
|
||||||
break;
|
break;
|
||||||
case 32: /* secure-auth */
|
case 33: /* secure-auth */
|
||||||
options->secure_auth= TRUE;
|
options->secure_auth= TRUE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user