[CONJ-797] Connector must use UTF8mb3 collation of Server Created: 2020-06-08 Updated: 2020-06-08 Resolved: 2020-06-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | configuration |
| Affects Version/s: | 2.3.0, 2.2.4, 2.2.5, 2.2.6, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0 |
| Fix Version/s: | 2.6.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Driver relies on server default collation. Since https://jira.mariadb.org/browse/CONJ-597 driver always use UTF8MB4 collation. when a server is configured to use a utf8mb3 != than unicode, some query might result is Illegal mix of collations (utf8mb4_XXX_ci,COERCIBLE) and (utf8mb4_YYYY_ci,COERCIBLE) for operation '<>'). The server automatically handle utf8mb4 / utf8mb3 conversion, so before The goal of this task is that upgrade of driver doesn't change compare to previous behaviour. |