summaryrefslogtreecommitdiff
path: root/sql/sql_locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_locale.h')
-rw-r--r--sql/sql_locale.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_locale.h b/sql/sql_locale.h
index 8357a9ecba4..8559bb55cd9 100644
--- a/sql/sql_locale.h
+++ b/sql/sql_locale.h
@@ -61,6 +61,8 @@ public:
grouping(grouping_par),
errmsgs(errmsgs_par)
{}
+ uint repertoire() const
+ { return is_ascii ? MY_REPERTOIRE_ASCII : MY_REPERTOIRE_EXTENDED; }
};
/* Exported variables */