[CONJS-267] Ensure that option collation with id > 255 are respected Created: 2023-09-15  Updated: 2023-09-20  Resolved: 2023-09-20

Status: Closed
Project: MariaDB Connector/node.js
Component/s: configuration
Affects Version/s: None
Fix Version/s: 3.2.2

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


 Description   

Since 3.2.1, connection use "SET NAMES utf8mb4" if collation option is not set, so it is recommended to use default behavior and set correctly server default collation.

Still, since recent mariadb server have new collation with id > 255 and protocol permits only one byte to set charset/collation, connector that have collation specifically set with an id > to 255 needs to explicitly use "SET NAMES xxx COLLATE yyy" command in order to set specified collation.


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