Skip to content

//(Floor Division) on CockroachDB query formatting fixed #1235

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

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

jonasbadstuebner
Copy link
Contributor

The floor division opeator // is special to CockroachDB I think. I found it in other DBMS' Documentation but only for comments (and none of them are officiall supported by sqltools), so keeping these two slashes without whitespace inbetween no matter what should always at least be "more valid" than splitting them apart.
Therefore I do not expect unwanted side effects because of this change.

fixes #1234

Thank you for your contribution!
Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
    There are warnings, but not because of my change
  • You have made the needed changes to the docs
  • You have written a description of what is the purpose of this pull request above

Signed-off-by: Jonas Badstübner <jonas.badstuebner@hetzner-cloud.de>
Copy link
Collaborator

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@gjsjohnmurray gjsjohnmurray merged commit 4e4f720 into mtxr:dev Nov 2, 2023
@gjsjohnmurray
Copy link
Collaborator

We just published 0.28.1 with this change included. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

//(Floor Division) on CockroachDB query formatted to / /, breaking the query
2 participants