You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys.
I found a small bug while using your module.
If a query include '!=' and invoke getStatement with Format paramet (language "sql") , it's transpiled to "! =".
So I met the syntax error because of '! ='. it should be '!=' (the space between ! and = should be removed) in mysql.
I traced what happen if I pass "sql" in language parameter. and the sql formatter module in dependency list transpiled it like that.
and I figure out that it's transpiled well if I pass "mysql" in langauge parameter by sql formatter.
Simply, this bug will be gone if you guys put "mysql" keyword in language parameter whitelist.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi guys.
I found a small bug while using your module.
If a query include '!=' and invoke getStatement with Format paramet (language "sql") , it's transpiled to "! =".
So I met the syntax error because of '! ='. it should be '!=' (the space between ! and = should be removed) in mysql.
I traced what happen if I pass "sql" in language parameter. and the sql formatter module in dependency list transpiled it like that.
and I figure out that it's transpiled well if I pass "mysql" in langauge parameter by sql formatter.
Simply, this bug will be gone if you guys put "mysql" keyword in language parameter whitelist.
Thanks.
The text was updated successfully, but these errors were encountered: