Skip to content

debug#755

Closed
youngsofun wants to merge 1 commit intodatabendlabs:mainfrom
youngsofun:bump
Closed

debug#755
youngsofun wants to merge 1 commit intodatabendlabs:mainfrom
youngsofun:bump

Conversation

@youngsofun
Copy link
Member

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 39c7a44236

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,7 @@
select 1

Choose a reason for hiding this comment

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

P1 Badge End first statement with delimiter in SQL fixture

cli/test.sh pipes this file into bendsql in non-interactive mode, where statement splitting depends on sql_delimiter (;) in SqlParser::parse_line/parse_statements (cli/src/sql_parser.rs), and any trailing buffer is executed once at EOF (cli/src/session.rs:444-449). Without a ; after select 1, the parser keeps buffering through the comment block and select 2, so the client sends one combined query instead of two statements, which breaks the expected 00-basa.result output (1 then 2).

Useful? React with 👍 / 👎.

@youngsofun youngsofun marked this pull request as draft March 13, 2026 01:52
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.

1 participant