summaryrefslogtreecommitdiff
path: root/mysys/errors.c
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 /mysys/errors.c
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 'mysys/errors.c')
-rw-r--r--mysys/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/errors.c b/mysys/errors.c
index 11e7d04e79e..7f3d966f9d7 100644
--- a/mysys/errors.c
+++ b/mysys/errors.c
@@ -119,7 +119,7 @@ void wait_for_free_space(const char *filename, int errors)
(void) sleep(MY_WAIT_FOR_USER_TO_FIX_PANIC);
}
-const char **get_global_errmsgs()
+const char **get_global_errmsgs(int nr __attribute((unused)))
{
return globerrs;
}