diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-10-08 12:32:52 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-10-08 12:32:52 +0400 |
commit | e1a212ebbcea6d51a4bc1fe672bc6ff392477a39 (patch) | |
tree | 293801fd78eeb84b95a7c1b5234a5bca87750e54 /sql/sp_head.cc | |
parent | 4c45b820aa0e04fd25527279175fdc7fabcd731e (diff) | |
download | mariadb-git-e1a212ebbcea6d51a4bc1fe672bc6ff392477a39.tar.gz |
MDEV-10585 EXECUTE IMMEDIATE statement
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r-- | sql/sp_head.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc index e2610fd950c..37e449cd666 100644 --- a/sql/sp_head.cc +++ b/sql/sp_head.cc @@ -253,6 +253,7 @@ sp_get_flags_for_command(LEX *lex) statement within an IF condition. */ case SQLCOM_EXECUTE: + case SQLCOM_EXECUTE_IMMEDIATE: flags= sp_head::MULTI_RESULTS | sp_head::CONTAINS_DYNAMIC_SQL; break; case SQLCOM_PREPARE: |