summaryrefslogtreecommitdiff
path: root/libmysql
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 /libmysql
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 'libmysql')
-rw-r--r--libmysql/errmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/errmsg.c b/libmysql/errmsg.c
index e30cdc9762b..0930efe3655 100644
--- a/libmysql/errmsg.c
+++ b/libmysql/errmsg.c
@@ -90,7 +90,7 @@ const char *client_errors[]=
""
};
-const char** get_client_errmsgs(void)
+const char** get_client_errmsgs(int nr __attribute((unused)))
{
return client_errors;
}