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

RD-11080: SqlCompiler crashes when a query is made of 100% comments #464

Merged
merged 3 commits into from
Jul 10, 2024

Conversation

bgaidioz
Copy link
Collaborator

@bgaidioz bgaidioz commented Jul 5, 2024

What is to be discussed here is: how to report that error? Technically the whole source code is failed, because no executable is found (that is the current patch). But underlining the whole code as people peacefully type a comment at the top, isn't convenient. Also, even an empty file should trigger an error?

Or can we underline the end (last character) saying the SELECT statement is missing.

Or can we not report anything as a failure, e.g. GetProgramDescription would contain no errors, but also no "final executable", and fail only upon running? (Just thinking of this now.)

@alexzerntev alexzerntev self-requested a review July 9, 2024 09:12
Copy link
Contributor

@torcato torcato left a comment

Choose a reason for hiding this comment

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

LGTM

@alexzerntev alexzerntev merged commit 5b0edeb into main Jul 10, 2024
6 checks passed
@alexzerntev alexzerntev deleted the RD-11080-crash branch July 10, 2024 08:35
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.

3 participants