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
Having an extra space before the @ sign doesn't break the execution but it just doesn't look nice. The same thing happens even if I wrap it inside backticks. i.e.
mariadb-ThienLy
changed the title
[FORMATTING] Issue Title Here
[FORMATTING] Formatter inserts space in between @ operator in mariadb dialect
Oct 24, 2024
The formatter thinks that @localhost is a variable and formats it accordingly. This user@host syntax is kinda tricky to handle as it's specific to very few SQL statements. As this thankfully doesn't make the SQL invalid, it's unlikely that it'll get fixed by me. Especially as I'm avoiding any new feature development on this library.
Input data
Which SQL and options did you provide as input?
Expected Output
Actual Output
Having an extra space before the
@
sign doesn't break the execution but it just doesn't look nice. The same thing happens even if I wrap it inside backticks. i.e.Usage
The text was updated successfully, but these errors were encountered: