You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running show character set returns wrong results. It only returns 2 encodings with utf8 and utf8mb4, but Vitess these days supports many more character sets & collations.
Using like for filtering the results also returns the wrong results.
There's multiple issues here. We're not using the explicit utf8mb3 value yet. It also shows utf8mb4_general_ci as the default collation which is wrong for MySQL 8. We should be using collations.Default() instead for this.
mysql> show character set like 'utf%';
+---------+------------------+--------------------+--------+
| Charset | Description | Default collation | Maxlen |
+---------+------------------+--------------------+--------+
| utf8 | UTF-8 Unicode | utf8mb3_general_ci | 3 |
+---------+------------------+--------------------+--------+
This shows only the first result and not all results that match.
Binary Version
-
Operating System and Environment details
-
Log Fragments
No response
The text was updated successfully, but these errors were encountered:
Overview of the Issue
Running
show character set
returns wrong results. It only returns 2 encodings withutf8
andutf8mb4
, but Vitess these days supports many more character sets & collations.Using
like
for filtering the results also returns the wrong results.Reproduction Steps
There's multiple issues here. We're not using the explicit
utf8mb3
value yet. It also showsutf8mb4_general_ci
as the default collation which is wrong for MySQL 8. We should be usingcollations.Default()
instead for this.This shows only the first result and not all results that match.
Binary Version
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: