summaryrefslogtreecommitdiff
path: root/sql/sql_locale.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2017-08-03 17:28:46 +0400
committerSergey Vojtovich <svoj@mariadb.org>2017-08-03 17:28:46 +0400
commit7507000ce2f3197c177a603d39ecfbdf9eeae21e (patch)
treed7bf8d72f6a9135c59c61d3ef55316049fab6461 /sql/sql_locale.cc
parentbf256392e6d4c480c953444a42b9dffd6216d90c (diff)
downloadmariadb-git-7507000ce2f3197c177a603d39ecfbdf9eeae21e.tar.gz
Support for server error messages in Hindi
This is an addition to original patch: activate hi_IN error messages.
Diffstat (limited to 'sql/sql_locale.cc')
-rw-r--r--sql/sql_locale.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_locale.cc b/sql/sql_locale.cc
index 58443a9a977..a2efa5e072c 100644
--- a/sql/sql_locale.cc
+++ b/sql/sql_locale.cc
@@ -32,7 +32,7 @@ enum err_msgs_index
{
en_US= 0, cs_CZ, da_DK, nl_NL, et_EE, fr_FR, de_DE, el_GR, hu_HU, it_IT,
ja_JP, ko_KR, no_NO, nn_NO, pl_PL, pt_PT, ro_RO, ru_RU, sr_RS, sk_SK,
- es_ES, sv_SE, uk_UA
+ es_ES, sv_SE, uk_UA, hi_IN
} ERR_MSGS_INDEX;
@@ -61,6 +61,7 @@ MY_LOCALE_ERRMSGS global_errmsgs[]=
{"spanish", NULL},
{"swedish", NULL},
{"ukrainian", NULL},
+ {"hindi", NULL},
{NULL, NULL}
};
@@ -889,7 +890,7 @@ MY_LOCALE my_locale_hi_IN
'.', /* decimal point hi_IN */
',', /* thousands_sep hi_IN */
"\x03", /* grouping hi_IN */
- &global_errmsgs[en_US]
+ &global_errmsgs[hi_IN]
);
/***** LOCALE END hi_IN *****/