[CONJS-121] Connection.escapeId must always quote value Created: 2020-02-10  Updated: 2020-03-19  Resolved: 2020-02-10

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

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


 Description   

see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/101

EscapeId implementation only use quote for identifiers that don't contain special characters.
Current implementation doesn't handle identifier that are reserved words, only ensure escaping.
One would espect that using escapeId all identifier are handle, and that is not the case for reserved words.


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