diff options
author | unknown <pem@mysql.comhem.se> | 2004-08-06 13:47:01 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-08-06 13:47:01 +0200 |
commit | 177ef90b575217a87251477927e7db859b32f5aa (patch) | |
tree | 1a5594e4960a331278b8e0beef4a71e13799eda1 /sql/sp_head.h | |
parent | 9bd52409b621cf44dfdfbafc84e42ef1910d2899 (diff) | |
download | mariadb-git-177ef90b575217a87251477927e7db859b32f5aa.tar.gz |
Fixed BUG#4902: Stored procedure with SHOW WARNINGS leads to packet error,
and tried to do it properly this time, digging out all show commands that
need the multi results flag set.
mysql-test/r/sp.result:
New test case for BUG#4902, with lots of other show commands as well.
mysql-test/t/sp.test:
New test case for BUG#4902, with lots of other show commands as well.
sql/sp_head.cc:
The check for possible multiple result commands was becomming unwieldly,
so we moved it to a separate function, and added loads of new command codes
to the test.
sql/sp_head.h:
The check for possible multiple result commands was becomming unwieldly,
so we moved it to a separate function.
sql/sql_yacc.yy:
The check for possible multiple result commands was becomming unwieldly,
so we moved it to a separate function.
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index 165f83c58fd..0b33c6b2142 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -32,6 +32,9 @@ Item_result sp_map_result_type(enum enum_field_types type); +bool +sp_multi_results_command(enum enum_sql_command cmd); + struct sp_label; class sp_instr; struct sp_cond_type; |