Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix SCRIPT tool COLUMNS option placement - #4344

Merged
andreitokar merged 1 commit into
h2database:masterfrom
hansu650:fix/script-tool-columns-option
May 20, 2026
Merged

Fix SCRIPT tool COLUMNS option placement#4344
andreitokar merged 1 commit into
h2database:masterfrom
hansu650:fix/script-tool-columns-option

Conversation

@hansu650

Copy link
Copy Markdown
Contributor

Fixes #4321.

This fixes the SCRIPT tool option placement for COLUMNS, so generated SQL uses SCRIPT SIMPLE COLUMNS TO ... instead of placing COLUMNS after the target path.

The regression test covers the command-line tool path and verifies that the generated script includes column names.

Tests:

.\build.bat compile
java -cp ... org.h2.tools.Script ... -options simple columns
git diff --check

@andreitokar
andreitokar merged commit 8bccaf4 into h2database:master May 20, 2026
2 checks passed
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.

unable to generate proper syntax when calling SCRIPT tool

2 participants