summaryrefslogtreecommitdiff
path: root/sql/derror.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-04-05 16:52:40 +0300
committerMonty <monty@mariadb.org>2016-04-05 18:00:03 +0300
commitd0b178fb45898486979a504de30ac186f734bb26 (patch)
tree7a78d5c3ecc02319615042a598a7530099cb217b /sql/derror.h
parent38f39a9288dc826ac16ac81a67a4e3174451825d (diff)
downloadmariadb-git-d0b178fb45898486979a504de30ac186f734bb26.tar.gz
Added new range of MariaDB error messages, starting from 3000
This is done by splitting variables.errmsg and locale.errmsg to variables.errmsg_extra and locale.errmsg_extra The ER() macros in unireg.h now looks more complex than before, but this isn't critical as most usage of them are with constants and the compiler will remove most of the test code.
Diffstat (limited to 'sql/derror.h')
-rw-r--r--sql/derror.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/derror.h b/sql/derror.h
index b2f6331e048..9f2aee71c7e 100644
--- a/sql/derror.h
+++ b/sql/derror.h
@@ -19,7 +19,8 @@
#include "my_global.h" /* uint */
bool init_errmessage(void);
+void free_error_messages();
bool read_texts(const char *file_name, const char *language,
- const char ***point, uint error_messages);
+ const char ****data);
#endif /* DERROR_INCLUDED */