diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2014-04-15 18:17:47 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2014-04-15 18:17:47 +0500 |
commit | 708ba733dade0348611269093587e30f4cd64eb7 (patch) | |
tree | 8532dc7e983d76a85e6de994230ee7b9f16175e6 /sql/slave.cc | |
parent | 9d32b8b2aa717441ce22eac27a38192409331eb1 (diff) | |
download | mariadb-git-708ba733dade0348611269093587e30f4cd64eb7.tar.gz |
MDEV-5138 Numerous test failures in "mtr --ps --embedded".
If a prepared statement calls an stored procedure,
the thd->server_status out of the SP goes up
to the PS and then to the client. So that the
client gets the SERVER_STATUS_CURSOR_EXISTS status
if the SP uses a cursor. Which makes the embedded
server fail.
Fixed by saving/restoring the upper-level server_status
in sp_head::execute().
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions