summaryrefslogtreecommitdiff
path: root/sql/derror.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/derror.cc')
-rw-r--r--sql/derror.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/derror.cc b/sql/derror.cc
index 3b29d2c511b..7a5bcd360a2 100644
--- a/sql/derror.cc
+++ b/sql/derror.cc
@@ -30,8 +30,8 @@ void init_errmessage(void)
{
DBUG_ENTER("init_errmessage");
- read_texts(ERRMSG_FILE,&errmsg[ERRMAPP],ER_ERROR_MESSAGES);
- errmesg=errmsg[ERRMAPP]; /* Init global variabel */
+ read_texts(ERRMSG_FILE,&my_errmsg[ERRMAPP],ER_ERROR_MESSAGES);
+ errmesg=my_errmsg[ERRMAPP]; /* Init global variabel */
init_myfunc_errs(); /* Init myfunc messages */
DBUG_VOID_RETURN;
}