mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
5.0-bugteam->5.1-bugteam merge
This commit is contained in:
commit
f42b9ad93f
11 changed files with 527 additions and 132 deletions
|
|
@ -338,6 +338,16 @@ my_string_repertoire(CHARSET_INFO *cs, const char *str, ulong length)
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
Returns repertoire for charset
|
||||
*/
|
||||
uint my_charset_repertoire(CHARSET_INFO *cs)
|
||||
{
|
||||
return cs->state & MY_CS_PUREASCII ?
|
||||
MY_REPERTOIRE_ASCII : MY_REPERTOIRE_UNICODE30;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Detect whether a character set is ASCII compatible.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue