mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
b99e11c8bd
run at startup" The server returned an error when trying to execute init-file with a stored procedure that could return multiple result sets to the client. A stored procedure can return multiple result sets if it contains PREPARE, SELECT, SHOW and similar statements. The fix is to set client_capabilites|=CLIENT_MULTI_RESULTS in sql_parse.cc:handle_bootstrap(). There is no "client" really, so nothing is ever sent. This makes init-file feature behave consistently: the prepared statements that can be called directly in the init-file can be used in a stored procedure too. Re-committed the patch originally submitted by Per-Erik after review. |
||
---|---|---|
.. | ||
bug15328.cnf | ||
bug16266.000001 | ||
des_key_file | ||
init_file.dat | ||
loaddata1.dat | ||
loaddata2.dat | ||
loaddata3.dat | ||
loaddata4.dat | ||
loaddata5.dat | ||
loaddata_dq.dat | ||
loaddata_pair.dat | ||
master-bin.000001 | ||
Moscow_leap | ||
ndb_config_mycnf1.cnf | ||
ndb_config_mycnf2.cnf | ||
rpl_loaddata.dat | ||
rpl_loaddata2.dat | ||
rpl_timezone.dat | ||
trunc_binlog.000001 | ||
untrusted-cacert.pem | ||
vchar.frm | ||
warnings_loaddata.dat | ||
words.dat |