Server crashes in is_white_space when it's run with query cache, charset ucs2 and collation ucs2_unicode_cii

Description

To reproduce, start server with

and try to connect to it with a client (or execute some SELECT, e.g. the same select @@version_comment limit 1 as above).

bzr version-info

Environment

None

Status

Assignee

Alexander Barkov

Reporter

Elena Stepanova

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Affects versions

Priority

Minor
Configure