diff options
author | unknown <serg@serg.mylan> | 2005-12-02 22:59:45 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-12-02 22:59:45 +0100 |
commit | 17a024b05f8656c8b85c95da04019c82046e57fc (patch) | |
tree | 76c4a6b240afc291ed0a83f7ef562c5722028d77 /sql/sp_head.cc | |
parent | 8895218eb39c9f3ffeb8add83e9e651c0f7e4a1b (diff) | |
download | mariadb-git-17a024b05f8656c8b85c95da04019c82046e57fc.tar.gz |
Bug#13012: REPAIR/BACKUP/RESTORE TABLE cause "packet out of order" in SP.
Mark them properly as result-returning statements
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r-- | sql/sp_head.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc index 81e10e59a9b..13d503dfa28 100644 --- a/sql/sp_head.cc +++ b/sql/sp_head.cc @@ -107,6 +107,9 @@ sp_get_flags_for_command(LEX *lex) case SQLCOM_SHOW_WARNS: case SQLCOM_SHOW_PROC_CODE: case SQLCOM_SHOW_FUNC_CODE: + case SQLCOM_REPAIR: + case SQLCOM_BACKUP_TABLE: + case SQLCOM_RESTORE_TABLE: flags= sp_head::MULTI_RESULTS; break; /* |