[CONJS-88] Charset collation option mismatch Created: 2019-07-08  Updated: 2019-07-09  Resolved: 2019-07-08

Status: Closed
Project: MariaDB Connector/node.js
Component/s: API, compatibility
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

see https://github.com/MariaDB/mariadb-connector-nodejs/issues/62

Actual implementation accepts option `charset` to only have collation name (like 'UTF8MB4_GENERAL_CI').
To be compatible with other drivers, option charset must be either a ... charset (ex: 'utf8mb4') or a collation name (ex: 'utf8mb4_esperanto_ci').

Changing user might change collation, connection collation must then be up to date

New option `collation` is created to be clear.


Generated at Thu Feb 08 03:22:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.