summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2003-01-15 18:06:07 +0100
committerunknown <pem@mysql.com>2003-01-15 18:06:07 +0100
commitf1d16d420fd12c7c84e9859aa7c569978c7d67cd (patch)
treeb213c9503c6248b09efa806532dab44ddf321e2d /include
parentfa46b6a843cb89dfd68663426a54c0d8710d4e0a (diff)
downloadmariadb-git-f1d16d420fd12c7c84e9859aa7c569978c7d67cd.tar.gz
Fixed some error handling in the SP parts of the parser.
include/mysqld_error.h: Added SP error messages for the parser. sql/share/czech/errmsg.txt: Added SP error messages for the parser. sql/share/danish/errmsg.txt: Added SP error messages for the parser. sql/share/dutch/errmsg.txt: Added SP error messages for the parser. sql/share/english/errmsg.txt: Added SP error messages for the parser. sql/share/estonian/errmsg.txt: Added SP error messages for the parser. sql/share/french/errmsg.txt: Added SP error messages for the parser. sql/share/german/errmsg.txt: Added SP error messages for the parser. sql/share/greek/errmsg.txt: Added SP error messages for the parser. sql/share/hungarian/errmsg.txt: Added SP error messages for the parser. sql/share/italian/errmsg.txt: Added SP error messages for the parser. sql/share/japanese/errmsg.txt: Added SP error messages for the parser. sql/share/korean/errmsg.txt: Added SP error messages for the parser. sql/share/norwegian-ny/errmsg.txt: Added SP error messages for the parser. sql/share/norwegian/errmsg.txt: Added SP error messages for the parser. sql/share/polish/errmsg.txt: Added SP error messages for the parser. sql/share/portuguese/errmsg.txt: Added SP error messages for the parser. sql/share/romanian/errmsg.txt: Added SP error messages for the parser. sql/share/russian/errmsg.txt: Added SP error messages for the parser. sql/share/serbian/errmsg.txt: Added SP error messages for the parser. sql/share/slovak/errmsg.txt: Added SP error messages for the parser. sql/share/spanish/errmsg.txt: Added SP error messages for the parser. sql/share/swedish/errmsg.txt: Added SP error messages for the parser. sql/share/ukrainian/errmsg.txt: Added SP error messages for the parser. sql/sql_yacc.yy: Replaced dummy printfs with real error messages in the SP parser.
Diffstat (limited to 'include')
-rw-r--r--include/mysqld_error.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/mysqld_error.h b/include/mysqld_error.h
index a339f44b258..e540b8371d8 100644
--- a/include/mysqld_error.h
+++ b/include/mysqld_error.h
@@ -270,4 +270,11 @@
#define ER_SP_ALREADY_EXISTS 1251
#define ER_SP_DOES_NOT_EXIST 1252
#define ER_SP_DROP_FAILED 1253
-#define ER_ERROR_MESSAGES 254
+#define ER_SP_STORE_FAILED 1254
+#define ER_SP_LEAVE_MISMATCH 1255
+#define ER_SP_ITERATE_MISMATCH 1256
+#define ER_SP_LABEL_REDEFINE 1257
+#define ER_SP_LABEL_MISMATCH 1258
+#define ER_SP_UNINIT_VAR 1259
+#define ER_ERROR_MESSAGES 260
+