[CONJS-124] Force connection.escapeId to emit backtick Created: 2020-03-10  Updated: 2020-03-19  Resolved: 2020-03-19

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   

Actual implementation of connection.escapeId only add backtick if there is no special characters.
This cause some trouble, because reserved words aren't escaped properly.

connection.escapeId must always force using backtick


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