diff options
author | unknown <pem@mysql.comhem.se> | 2004-03-29 12:29:06 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-03-29 12:29:06 +0200 |
commit | 5c7f368b78df504e4874cc2df1897efeb7b0bd48 (patch) | |
tree | ea8b1736d87f67c0b1ce0193f6690d83fc4d1fd6 /include/sql_state.h | |
parent | 7456a3e92f94552bf22210e81d03a0708b66f721 (diff) | |
download | mariadb-git-5c7f368b78df504e4874cc2df1897efeb7b0bd48.tar.gz |
Fixed BUG#3287: Stored Procedure Case Statement Not SQL:2003 Compliant.
include/mysqld_error.h:
New error code for missing ELSE in SP CASE statement.
include/sql_state.h:
New error code for missing ELSE in SP CASE statement.
mysql-test/r/sp-error.result:
Test case for missing ELSE in SP CASE statement.
mysql-test/t/sp-error.test:
Test case for missing ELSE in SP CASE statement.
sql/share/czech/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/danish/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/dutch/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/english/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/estonian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/french/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/german/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/greek/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/hungarian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/italian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/japanese/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/korean/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/norwegian-ny/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/norwegian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/polish/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/portuguese/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/romanian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/russian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/serbian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/slovak/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/spanish/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/swedish/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/share/ukrainian/errmsg.txt:
New error message for missing ELSE in SP CASE statement.
sql/sql_yacc.yy:
Generate run-time error instruction when no ELSE in SP CASE statement.
Diffstat (limited to 'include/sql_state.h')
-rw-r--r-- | include/sql_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sql_state.h b/include/sql_state.h index 0c35f6bf8c9..9eff300d494 100644 --- a/include/sql_state.h +++ b/include/sql_state.h @@ -199,3 +199,4 @@ ER_SP_SUBSELECT_NYI, "0A000", "", ER_SP_NO_USE, "42000", "", ER_SP_VARCOND_AFTER_CURSHNDLR, "42000", "", ER_SP_CURSOR_AFTER_HANDLER, "42000", "", +ER_SP_CASE_NOT_FOUND, "20000", "", |