Closed gravataLonga closed 6 years ago
I will take a look if there is a simple fix for this. Last time I checked MySQL did not have a server-side function to quote identifiers, and in SQLTools code itself, we don't include ANY RDBMS specific code intentionally.
This fix will be available in next release.
Many thank for your work put on this. I can't thank you enoght! :) Keep the good Work!
Issue Type
[ ] Feature Request
[X] Bugfix/Errors The database name is not safe scape. Give the same error: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-client.actions' at line 1 Because my database name is: development-client.
[ ] Questions
[ ] Other
Prerequisites (For bugfixes)
Description
The database name is not safe scape. Give the same error: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-client.actions' at line 1 Because my database name is: development-client.
I try all the thing, "development-client": { "type": "mysql", "host": "db", "port": "3306", "username": "root", "password": "control", "database": "{development-client}" }
[Description of the bug or feature]
Steps to Reproduce (For bugfixes)
Expected behavior: [What you expected to happen] Get result from table.
Actual behavior: [What actually happened] ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-client.actions'
Versions
MacOS 10.12.6 Using SQLTools v0.9.5