SqlDbx Forum

SqlDbx

You are not logged in.

#1 2016-02-10 09:35:04

aangelo
Member

Bug - Wrong comments

Hello!
In MySQL (and Oracle, if I remember) SQL comments have to be followed by a space, otherwise produces an error.

When SQL Format is customized with EOL before comma, each SQL line starting with a comma is not commented correctly by the context menu command: Advanced>Comment because this command does not add a space following "--" comment.
In the same way, Advanced>Remove comment should remove the comment "--" followed by one space (if any).

Environment:
SqlDbx x64 Version 4.13 (Professional Edition)
OS: Windows 10 Home Edition
Database: MySQL 57

Thank you for the attention.

Last edited by aangelo (2016-02-10 09:53:07)

Offline

#2 2016-02-18 12:33:07

ptoniolo
Member

Re: Bug - Wrong comments

Oracle does not require any space after the "--".
I believe it's only an issue for MySQL.

Offline

Board footer

Powered by FluxBB