Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL's NULL-safe equal is not correctly formatted #763

Open
1 of 5 tasks
Stadly opened this issue Feb 5, 2021 · 0 comments
Open
1 of 5 tasks

MySQL's NULL-safe equal is not correctly formatted #763

Stadly opened this issue Feb 5, 2021 · 0 comments

Comments

@Stadly
Copy link

Stadly commented Feb 5, 2021

Describe the bug
When formatting MySQL, the NULL-safe equal operator is formatted as <= > instead of <=>.

To Reproduce
Steps to reproduce the behavior:

  1. Make a simple query SELECT 1 <=> 1;.
  2. Format the document (Ctrl+Alt+F).
  3. Notice that the query is changed to SELECT 1 <= > 1;.

Expected behavior
<=> should not be changed to <= >.

Desktop

  • SQLTools Version: 0.23.0
  • VSCode Version: 1.53.0
  • OS: Windows
  • Driver:
    • PostgreSQL/Redshift
    • MySQL/MariaDB
    • MSSQL/Azure
    • SQLite
    • Other? Which...
  • Database version: MySQL v5.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants