execsql2 2.38.0__tar.gz → 2.40.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {execsql2-2.38.0 → execsql2-2.40.0}/.github/workflows/ci-cd.yml +17 -3
- execsql2-2.40.0/.github/workflows/transaction-model.yml +36 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.pre-commit-config.yaml +2 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/AGENTS.md +2 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/CHANGELOG.md +64 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/CONTRIBUTING.md +25 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/PKG-INFO +2 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/README.md +1 -1
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/about/divergence.md +134 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/api/index.md +1 -1
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/dev/architecture.md +49 -10
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/getting-started/syntax.md +1 -1
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/formatter.md +1 -1
- execsql2-2.40.0/docs/images/connect-file-textual.svg +208 -0
- execsql2-2.40.0/docs/images/connect-textual.svg +208 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/configuration.md +10 -5
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/lint.md +14 -5
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/metacommands.md +99 -22
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/substitution_vars.md +17 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/package-lock.json +6 -6
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/package.json +2 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/pyproject.toml +2 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/lint.py +40 -8
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/run.py +123 -56
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/data/execsql.conf.template +5 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/base.py +9 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/dsn.py +2 -3
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/firebird.py +31 -22
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/mysql.py +14 -20
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/oracle.py +6 -4
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/postgres.py +13 -18
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exceptions.py +5 -0
- execsql2-2.40.0/src/execsql/gui/__init__.py +46 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/gui/base.py +131 -8
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/gui/console.py +77 -30
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/gui/desktop.py +290 -120
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/gui/tui.py +384 -132
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/importers/base.py +6 -12
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/importers/csv.py +3 -5
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/control.py +40 -27
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/data.py +11 -9
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/io_fileops.py +1 -1
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/io_write.py +0 -9
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/prompt.py +94 -42
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/script_ext.py +6 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/system.py +0 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/parser.py +118 -8
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/engine.py +1 -1
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/executor.py +31 -3
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/parser.py +31 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/auth.py +11 -6
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/gui.py +162 -53
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_cli_run.py +1 -0
- execsql2-2.40.0/tests/corpus/cases/catalog_lookup_errors/script.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/condition_comparison_syntax/script.sql +2 -0
- execsql2-2.40.0/tests/corpus/cases/condition_missing_comma/script.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/condition_missing_parenthesis/script.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/deferred_include_until/part_1.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/deferred_include_until/part_2.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/deferred_include_until/script.sql +6 -0
- execsql2-2.40.0/tests/corpus/cases/deferred_include_while/part_1.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/deferred_include_while/part_2.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/deferred_include_while/script.sql +6 -0
- execsql2-2.40.0/tests/corpus/cases/extend_block_if/script.sql +7 -0
- execsql2-2.40.0/tests/corpus/cases/extend_block_loop/script.sql +7 -0
- execsql2-2.40.0/tests/corpus/cases/firebird_catalog_holds/execsql.conf +2 -0
- execsql2-2.40.0/tests/corpus/cases/firebird_catalog_holds/script.sql +7 -0
- execsql2-2.40.0/tests/corpus/cases/import_catalog_query_failure/input.csv +2 -0
- execsql2-2.40.0/tests/corpus/cases/import_catalog_query_failure/script.sql +9 -0
- execsql2-2.40.0/tests/corpus/cases/prompt_action_missing_spec/script.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/prompt_entry_form_missing_spec/script.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/variable_block_if/script.sql +9 -0
- execsql2-2.40.0/tests/corpus/cases/variable_end_loop/script.sql +5 -0
- execsql2-2.40.0/tests/corpus/cases/wait_until_bad_condition/script.sql +4 -0
- execsql2-2.40.0/tests/corpus/cases/wait_until_condition_database_error/script.sql +9 -0
- execsql2-2.40.0/tests/corpus/cases/write_create_table_missing_source/script.sql +1 -0
- execsql2-2.40.0/tests/corpus/cases/write_readable_sources/script.sql +5 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/changes.json +312 -8
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/record.py +6 -1
- execsql2-2.40.0/tests/corpus/results/catalog_lookup_errors.json +8 -0
- execsql2-2.40.0/tests/corpus/results/condition_comparison_syntax.json +8 -0
- execsql2-2.40.0/tests/corpus/results/condition_missing_comma.json +8 -0
- execsql2-2.40.0/tests/corpus/results/condition_missing_parenthesis.json +8 -0
- execsql2-2.40.0/tests/corpus/results/deferred_include_until.json +18 -0
- execsql2-2.40.0/tests/corpus/results/deferred_include_while.json +18 -0
- execsql2-2.40.0/tests/corpus/results/extend_block_if.json +10 -0
- execsql2-2.40.0/tests/corpus/results/extend_block_loop.json +10 -0
- execsql2-2.40.0/tests/corpus/results/firebird_catalog_holds.json +10 -0
- execsql2-2.40.0/tests/corpus/results/import_catalog_query_failure.json +25 -0
- execsql2-2.40.0/tests/corpus/results/prompt_action_missing_spec.json +8 -0
- execsql2-2.40.0/tests/corpus/results/prompt_entry_form_missing_spec.json +8 -0
- execsql2-2.40.0/tests/corpus/results/variable_block_if.json +8 -0
- execsql2-2.40.0/tests/corpus/results/variable_end_loop.json +8 -0
- execsql2-2.40.0/tests/corpus/results/wait_until_bad_condition.json +10 -0
- execsql2-2.40.0/tests/corpus/results/wait_until_condition_database_error.json +27 -0
- execsql2-2.40.0/tests/corpus/results/write_create_table_missing_source.json +8 -0
- execsql2-2.40.0/tests/corpus/results/write_readable_sources.json +10 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/runner.py +30 -3
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/test_script_corpus.py +11 -2
- execsql2-2.40.0/tests/db/test_connection_identity.py +114 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_db_adapters_mocked_extra.py +7 -1
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_dsn.py +4 -1
- execsql2-2.40.0/tests/db/test_firebird_live.py +184 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_new_table_checks.py +6 -4
- execsql2-2.40.0/tests/gui/test_action_effects.py +452 -0
- execsql2-2.40.0/tests/gui/test_action_layout.py +112 -0
- execsql2-2.40.0/tests/gui/test_backend_selection.py +145 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_backends.py +26 -16
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_backends_extended.py +13 -21
- execsql2-2.40.0/tests/gui/test_composite_comparisons.py +172 -0
- execsql2-2.40.0/tests/gui/test_connect_effects.py +413 -0
- execsql2-2.40.0/tests/gui/test_console_connection_ownership.py +293 -0
- execsql2-2.40.0/tests/gui/test_console_shutdown.py +343 -0
- execsql2-2.40.0/tests/gui/test_console_sizing.py +243 -0
- execsql2-2.40.0/tests/gui/test_credentials_effects.py +277 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_desktop_dialogs.py +53 -11
- execsql2-2.40.0/tests/gui/test_enter_sub_effects.py +266 -0
- execsql2-2.40.0/tests/gui/test_entry_form_effects.py +235 -0
- execsql2-2.40.0/tests/gui/test_modal_error_boundary.py +214 -0
- execsql2-2.40.0/tests/gui/test_prompt_outcomes.py +282 -0
- execsql2-2.40.0/tests/gui/test_remaining_prompt_effects.py +571 -0
- execsql2-2.40.0/tests/gui/test_select_sub_effects.py +253 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_tui_pilot.py +8 -17
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_tui_pilot_complex.py +74 -14
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_utils_gui_extended.py +25 -40
- execsql2-2.40.0/tests/gui/textual_helpers.py +42 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/integration/conftest.py +4 -3
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_data.py +10 -10
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_extended.py +9 -15
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_system_extra.py +9 -2
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_prompt.py +12 -6
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/test_sql_scripts.py +8 -7
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_env_detection.py +6 -9
- execsql2-2.40.0/tests/subprocess_utils.py +59 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/templates/test_static.py +4 -7
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_api_connection_ownership.py +44 -0
- execsql2-2.40.0/tests/test_catalog_query_failures.py +172 -0
- execsql2-2.40.0/tests/test_condition_diagnostics.py +154 -0
- execsql2-2.40.0/tests/test_dynamic_blocks.py +83 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_executor.py +9 -7
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_failed_commit.py +8 -3
- execsql2-2.40.0/tests/test_firebird_commits.py +108 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_include_errors.py +67 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_interactive.py +3 -1
- execsql2-2.40.0/tests/test_prompt_select_rows.py +206 -0
- execsql2-2.40.0/tests/test_required_conditions.py +211 -0
- execsql2-2.40.0/tests/utils/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_auth_extra.py +19 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_filewriter_deadlines.py +38 -36
- execsql2-2.40.0/tests/utils/test_subprocess_utils.py +74 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/uv.lock +173 -216
- execsql2-2.38.0/src/execsql/gui/__init__.py +0 -43
- {execsql2-2.38.0 → execsql2-2.40.0}/.agents/README.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.agents/hooks/hook_paths.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.agents/hooks/review-before-merge.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.agents/hooks/review-before-merge.sh +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.agents/monolith_map.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.agents/skills/merge-review/SKILL.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.claude/settings.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.codex/config.toml +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.codex/hooks.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.gitattributes +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.github/dependabot.yml +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.gitignore +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.pre-commit-hooks.yaml +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.python-version +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/.readthedocs.yaml +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/CLAUDE.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/LICENSE.txt +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/NOTICE +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/SECURITY.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/about/contributors.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/about/copyright.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/api/cli.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/api/db.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/api/exporters.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/api/importers.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/api/metacommands.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/dev/adding_db_adapters.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/dev/adding_exporters.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/dev/adding_importers.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/dev/adding_metacommands.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/dev/contributing.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/dev/releasing.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/getting-started/first-script.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/getting-started/installation.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/getting-started/requirements.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/debugging.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/documentation.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/editors/other-editors.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/editors/vscode.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/editors.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/encoding.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/examples/basics.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/examples/control-flow.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/examples/data-movement.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/examples/interactive.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/examples/reports.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/examples.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/logging.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/sql_syntax.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/usage.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/guides/using_scripts.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/Compare_planets.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/actions.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/actions2.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/checkboxes.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/connect.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/data_error1_screenshot.jpg +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/execsql_logo_01.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/fatals.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/pause_terminal_sm.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/set_build_commands.jpg +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/unit_conversions_029.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/unmatched.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/images/vim_execsql_highlight.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/index.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/cli/config.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/cli/index.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/cli/init.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/cli/list.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/cli/lsp.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/language-server.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/reference/security.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/templates/compare.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/templates/glossary.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/templates/index.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/docs/templates/upsert.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/plugin-template/README.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/plugin-template/pyproject.toml +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/plugin-template/src/execsql_plugin_YOURNAME/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/plugin-template/tests/test_plugin.py.example +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/.vscodeignore +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/LICENSE.txt +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/README.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/extension.js +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/icon.png +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/extras/vscode-execsql/syntaxes/execsql.tmLanguage.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/justfile +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/scripts/benchmarks/README.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/scripts/benchmarks/results/.gitignore +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/scripts/benchmarks/run_benchmarks.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/scripts/generate_vscode_grammar.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/scripts/release_notes.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/__main__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/api.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/application.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/config.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/format.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/init.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/lint.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/listing.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/lsp.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/commands/run.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/dispatch.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/dsn.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/help.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/cli/options.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/config.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/config_validation.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/data/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/data/script_header.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/access.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/duckdb.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/factory.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/odbc.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/sqlite.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/sqlserver.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/target_types.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/db/tiers.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/debug/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/debug/repl.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/base.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/delimited.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/duckdb.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/feather.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/html.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/json.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/latex.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/markdown.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/ods.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/parquet.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/pretty.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/protocol.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/raw.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/sqlite.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/templates.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/values.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/xls.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/xlsx.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/xml.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/yaml.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/exporters/zip.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/format.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/importers/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/importers/feather.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/importers/json.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/importers/ods.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/importers/xls.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/interactive.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/_util.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/cache.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/code_actions.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/completion.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/diagnostics.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/document.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/folding.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/formatting.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/hover.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/navigation.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/rename.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/lsp/server.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/manifest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/conditions.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/connect.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/debug.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/dispatch.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/effects.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/io.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/io_export.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/io_import.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/reference.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/metacommands/upsert.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/models.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/plugins.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/py.typed +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/ast.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/control.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/preparation.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/script/variables.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/state.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/state.pyi +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/types.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/color.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/crypto.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/datetime.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/errors.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/fileio.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/mail.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/numeric.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/paths.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/regex.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/sigterm.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/spreadsheet.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/strings.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/src/execsql/utils/timer.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/README.md +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/config_settings.sqlite +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/example_config_prompt.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/make_config_db.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/md_compare.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/md_glossary.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/md_upsert.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/pg_compare.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/pg_glossary.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/script_template.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/ss_compare.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/ss_glossary.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/templates/ss_upsert.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_cli.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_cli_e2e.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_cli_surface.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_commands.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_config_validate.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_dispatch.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_error_location.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_init.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_lint.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_lint_fixtures.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_log_exit_record.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_manifest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_ping.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_profile.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_sigterm.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/cli/test_undeclared_imports.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/conftest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/alias_case_sensitivity/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_and_autocommit/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_commit_fails/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_inner_left_by_break/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_left_by_break/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_left_by_error/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_left_by_halt/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_left_under_autocommit_off/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_metacommand_sql_fails/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_nested_commit_fails/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_nested_commit_fails_carry_on/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_sql_error_after_end_batch/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/batch_statement_fails/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/begin_sql_block/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/boolean_and_empty_config/data.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/boolean_and_empty_config/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/break_at_top_level/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/break_in_inline_if/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/break_leaves_script_and_include/part.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/break_leaves_script_and_include/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/cd_relative_paths/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/cd_relative_paths/sub/data.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/commit_fails/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/condition_error_block_if/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/condition_error_database/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/condition_error_script_while/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/conditions_more/marker.txt +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/conditions_more/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_column_headers/duplicate_headers.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_column_headers/empty_column.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_column_headers/headers.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_column_headers/missing_headers.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_column_headers/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_export/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_import_rows/numbers.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_import_rows/rows.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/config_import_rows/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/configured_startup/execsql.conf +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/configured_startup/optional.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/configured_startup/required.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/configured_startup/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/copy_and_import_errors/data.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/copy_and_import_errors/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/copy_between_databases/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/counters/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/current_db_vars_after_disconnect/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/decimal_digits/long.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/decimal_digits/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/decimal_digits/short.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/decimal_scale_rejection/bad.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/decimal_scale_rejection/good.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/decimal_scale_rejection/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/deferred_substitution/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/directive_from_variable/part.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/directive_from_variable/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/disconnect_checks/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/error_flags/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/error_halt_off/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/error_stops_script/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/execute_script_args/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/existing_decimal_target/rows.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/existing_decimal_target/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/existing_decimal_target/tiny.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/export_more_formats/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/export_query_append/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/export_structured_formats/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/export_text_formats/script.sql +0 -0
- /execsql2-2.38.0/tests/db/__init__.py → /execsql2-2.40.0/tests/corpus/cases/firebird_catalog_holds/requires-firebird +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/halt_exit_status/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/if_conditions/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/import_csv_existing/data.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/import_csv_existing/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/import_csv_new/data.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/import_csv_new/data.tsv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/import_csv_new/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/import_file_column/note.txt +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/import_file_column/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/include_file/part.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/include_file/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/inline_directives_and_condition_errors/part.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/inline_directives_and_condition_errors/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/json_exact_numbers/exact.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/json_exact_numbers/ignored.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/json_exact_numbers/powers.jsonl +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/json_exact_numbers/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/local_and_outer_vars/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/loop_while_until/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/ods_input_limits/execsql.conf +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/ods_input_limits/invalid.ods +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/ods_input_limits/rows.ods +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/ods_input_limits/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/on_error_halt_execute/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/on_error_halt_write/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/script_extend_and_write/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/select_sub_subdata/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sqlite_attached_target/data.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sqlite_attached_target/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sqlite_export_failed_replacement/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sqlite_integer_exact/integers.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sqlite_integer_exact/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sqlite_integer_fraction/rows.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sqlite_integer_fraction/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_backslash/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_basic/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_encrypt_decrypt/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_ini/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_ini/settings.ini +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_quoting/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_quoting_upstream_idiom/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/sub_tempfile/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/system_vars/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/unsubstituted_warning/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/wait_until_and_cancel_halt/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/write_console/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/write_create_table/data.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/write_create_table/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/write_visibility/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/zip_files/note.txt +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/cases/zip_files/script.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/alias_case_sensitivity.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_and_autocommit.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_commit_fails.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_inner_left_by_break.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_left_by_break.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_left_by_error.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_left_by_halt.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_left_under_autocommit_off.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_metacommand_sql_fails.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_nested_commit_fails.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_nested_commit_fails_carry_on.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_sql_error_after_end_batch.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/batch_statement_fails.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/begin_sql_block.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/boolean_and_empty_config.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/break_at_top_level.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/break_in_inline_if.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/break_leaves_script_and_include.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/cd_relative_paths.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/commit_fails.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/condition_error_block_if.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/condition_error_database.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/condition_error_script_while.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/conditions_more.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/config_column_headers.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/config_export.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/config_import_rows.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/configured_startup.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/copy_and_import_errors.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/copy_between_databases.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/counters.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/current_db_vars_after_disconnect.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/decimal_digits.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/decimal_scale_rejection.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/deferred_substitution.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/directive_from_variable.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/disconnect_checks.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/error_flags.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/error_halt_off.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/error_stops_script.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/execute_script_args.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/existing_decimal_target.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/export_more_formats.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/export_query_append.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/export_structured_formats.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/export_text_formats.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/halt_exit_status.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/if_conditions.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/import_csv_existing.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/import_csv_new.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/import_file_column.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/include_file.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/inline_directives_and_condition_errors.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/json_exact_numbers.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/local_and_outer_vars.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/loop_while_until.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/ods_input_limits.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/on_error_halt_execute.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/on_error_halt_write.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/script_extend_and_write.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/select_sub_subdata.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sqlite_attached_target.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sqlite_export_failed_replacement.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sqlite_integer_exact.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sqlite_integer_fraction.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sub_backslash.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sub_basic.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sub_encrypt_decrypt.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sub_ini.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sub_quoting.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sub_quoting_upstream_idiom.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/sub_tempfile.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/system_vars.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/unsubstituted_warning.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/wait_until_and_cancel_halt.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/write_console.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/write_create_table.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/write_visibility.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/corpus/results/zip_files.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/exact_decimal_targets/changes.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/exact_decimal_targets/duckdb.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/exact_decimal_targets/scale_changes.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/exact_decimal_targets/text_changes.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/changes.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/duckdb.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/mysql.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/mysql_files.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/postgres.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/postgres_files.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/sqlite.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/existing_table_loads/sqlserver.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/formatter_shapes/comment_anchoring.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/formatter_shapes/escapes_and_literals.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/formatter_shapes/substitution_and_metacommands.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/formatter_shapes/unparsable_sql.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/json_numbers/changes.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/json_numbers/duckdb.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/json_numbers/sqlite.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/lint/conditions_and_blocks.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/lint/does_not_parse.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/lint/every_metacommand.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/lint/invalid.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/ods/libreoffice.fods +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/ods/libreoffice.ods +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/data/sqlite_integer_conversions.json +0 -0
- {execsql2-2.38.0/tests/exporters → execsql2-2.40.0/tests/db}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/conftest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_access_windows.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_base.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_bulk_inserts.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_copy_new.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_db_adapters_mocked.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_decimal_scale.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_duckdb.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_exact_decimal_targets.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_existing_table_loads.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_factory.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_factory_postgres_encoding.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_import_atomic.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_import_replacement_quoted.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_import_short_rows.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_import_timezones.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_mysql_case_folding.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_mysql_inprocess.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_mysql_trailing_blank_lines.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_odbc_fresh_sessions.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_oracle_driver.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_postgres.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_postgres_inprocess.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_quoted_substitution_roundtrip.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_replacement_missing_table.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_roundtrip_adapters.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_sqlite.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_sqlite_extra.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_sqlite_integer_loads.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_sqlite_qualified_loads.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_sqlserver_driver18.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_sqlserver_inprocess.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_target_types.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_tiers.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/db/test_transactions.py +0 -0
- {execsql2-2.38.0/tests/gui → execsql2-2.40.0/tests/exporters}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/conftest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_base.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_db.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_delimited.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_duckdb_exporter.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_exporters.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_feather.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_html_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_html_latex.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_json.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_json_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_jsonl.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_latex_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_markdown.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_ods.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_ods_export.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_parquet.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_pretty_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_raw_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_columnar.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_dbfile.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_delimited.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_json.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_latex_xml.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_markup.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_ods.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_pretty_raw.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_template.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_values.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_roundtrip_xlsx.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_sqlite_exact_export.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_sqlite_exporter.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_templates.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_templates_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_values_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_values_roundtrip.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_xls_xlsx.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_xlsx.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_xml.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_yaml.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/exporters/test_zip.py +0 -0
- {execsql2-2.38.0/tests/importers → execsql2-2.40.0/tests/gui}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_compare_stats.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_compute_row_diffs.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/gui/test_format_table.py +0 -0
- {execsql2-2.38.0/tests/integration → execsql2-2.40.0/tests/importers}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/conftest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_base_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_csv_blank_lines.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_csv_edge_cases.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_csv_importer.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_feather_importer.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_json_collisions.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_json_importer.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_json_numbers.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_ods_importer.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_ods_limits.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_ods_values.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_roundtrip_csv.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/importers/test_xls_importer.py +0 -0
- {execsql2-2.38.0/tests/lsp → execsql2-2.40.0/tests/integration}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/integration/test_dsn.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/integration/test_duckdb.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/integration/test_mysql.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/integration/test_postgres.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/integration/test_sqlite.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/live_db.py +0 -0
- {execsql2-2.38.0/tests/metacommands → execsql2-2.40.0/tests/lsp}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_cache.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_code_actions.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_completion.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_diagnostics.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_document.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_folding.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_formatting.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_hover.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_lsp_command.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_navigation.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_rename.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/lsp/test_server.py +0 -0
- {execsql2-2.38.0/tests/scripts → execsql2-2.40.0/tests/metacommands}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/conftest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_alias_case.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_assert.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_breakpoint.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_conditions_extra.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_connect.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_disconnect_vars.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_io_export.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_io_import.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_connect.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_fileops_extra.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_io.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_io_write_extra.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_script_ext.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_metacommands_system.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_pg_upsert.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_row_count.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_serve_output.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/metacommands/test_show_scripts.py +0 -0
- {execsql2-2.38.0/tests/security → execsql2-2.40.0/tests/scripts}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/audit_lint_bad.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/audit_smoke/sample.json +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/audit_smoke/sample.jsonl +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/audit_smoke.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/config_runtime.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/control_flow.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/counters_and_locals.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/error_handling.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/import_options/has_comments.csv +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/import_options.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/includes/helper.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/includes.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/io_formats.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/io_roundtrip.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/multi_db.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/parquet_feather_roundtrip.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/parse_only/parse_tree.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/predicates.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/scripts.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/smoke.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/subroutine_loops.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/subvars_advanced.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/template_export/greeting.tmpl +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/template_export.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/timer.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/transactions.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/write_create_table.sql +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/scripts/fixtures/xlsx_ods_roundtrip.sql +0 -0
- {execsql2-2.38.0/tests/templates → execsql2-2.40.0/tests/security}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_expansion_bomb.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_import_regex_hardening.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_log_redaction.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_log_secrets.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_network_paths.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_odbc_connection_strings.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_odbc_injection.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_path_containment.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_substitution_injection.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/security/test_zip_bomb.py +0 -0
- {execsql2-2.38.0/tests/utils → execsql2-2.40.0/tests/templates}/__init__.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/templates/conftest.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/templates/test_compare.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/templates/test_glossary.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/templates/test_upsert.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_api.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_api_errors.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_api_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_api_filewriter.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_api_isolation.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_api_subprocess.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_ast.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_ast_parser.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_break.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_bundled_templates.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_config.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_config_data.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_config_extended.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_configured_startup.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_date_inference.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_debug_repl.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_disconnect.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_documented_examples.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_end_batch_commit.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_engine.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_error_messages.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_exceptions.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_executor_inprocess.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_format.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_interrupted_statement.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_live_db.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_mail.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_metacommand_errors.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_models.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_package.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_parser.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_parser_params.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_plugins.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_reference.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_registry.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_release_notes.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_script.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_state.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_tooling_versions.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_transaction_model.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/test_types.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_auth.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_crypto.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_datetime.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_encodedfile_context.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_errors.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_errors_extra.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_fileio.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_fileio_extra.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_keyring_rules.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_mail_tls.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_numeric.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_regex.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_sigterm.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_strings.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_timer.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/tests/utils/test_timer_extra.py +0 -0
- {execsql2-2.38.0 → execsql2-2.40.0}/zensical.toml +0 -0
|
@@ -44,7 +44,7 @@ jobs:
|
|
|
44
44
|
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
45
45
|
with:
|
|
46
46
|
python-version: "3.13"
|
|
47
|
-
- uses: astral-sh/setup-uv@
|
|
47
|
+
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
|
|
48
48
|
# The environment `just setup` builds: mypy and the packages it
|
|
49
49
|
# type-checks against come from uv.lock, so CI and local runs agree.
|
|
50
50
|
# --locked also fails the job when uv.lock is out of date.
|
|
@@ -182,9 +182,17 @@ jobs:
|
|
|
182
182
|
python -m pip install --upgrade pip
|
|
183
183
|
python -m pip install tox tox-uv
|
|
184
184
|
python -m pip install ".[formats,formatter,lsp]" --group test
|
|
185
|
-
- name:
|
|
185
|
+
- name: Ensure tkinter (Ubuntu)
|
|
186
186
|
if: runner.os == 'Linux'
|
|
187
|
-
|
|
187
|
+
# setup-python can already provide a working Tcl/Tk runtime.
|
|
188
|
+
# Avoid downloading the system Python's Tk package when the
|
|
189
|
+
# selected interpreter can initialize Tcl without it.
|
|
190
|
+
run: |
|
|
191
|
+
if ! python -c 'import tkinter; tkinter.Tcl()'; then
|
|
192
|
+
sudo apt-get update
|
|
193
|
+
sudo apt-get install -y python3-tk
|
|
194
|
+
python -c 'import tkinter; tkinter.Tcl()'
|
|
195
|
+
fi
|
|
188
196
|
- name: Install unixodbc (macOS)
|
|
189
197
|
# tox installs the [all] extra which pulls in pyodbc; pyodbc's
|
|
190
198
|
# native .so depends on libodbc.2.dylib from the unixodbc
|
|
@@ -194,6 +202,12 @@ jobs:
|
|
|
194
202
|
- name: Test with tox
|
|
195
203
|
env:
|
|
196
204
|
DISPLAY: ""
|
|
205
|
+
# Profile TEMP on Windows is on the slow system disk; SQLite
|
|
206
|
+
# commits there exceeded CLI deadlines. Keep disposable test
|
|
207
|
+
# databases on the runner's temp volume instead.
|
|
208
|
+
TMPDIR: ${{ runner.temp }}
|
|
209
|
+
TEMP: ${{ runner.temp }}
|
|
210
|
+
TMP: ${{ runner.temp }}
|
|
197
211
|
# Ubuntu finishes in ~9 min and Windows in ~16 min; 30 leaves
|
|
198
212
|
# ample headroom. Step-level timeout fails the step (not the
|
|
199
213
|
# job), so continue-on-error can mask it on macOS.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Transaction model
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: "23 7 * * 1"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: transaction-model-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: false
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
transaction-model:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
timeout-minutes: 15
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
22
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
23
|
+
with:
|
|
24
|
+
python-version: "3.13"
|
|
25
|
+
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
|
|
26
|
+
- run: uv sync --locked --no-dev --group test
|
|
27
|
+
- name: Check 5000 generated transaction scripts
|
|
28
|
+
env:
|
|
29
|
+
EXECSQL_MODEL_EXAMPLES: "5000"
|
|
30
|
+
run: uv run --no-sync --no-dev --group test pytest tests/test_transaction_model.py -n 0 --no-cov --junitxml=transaction-model.xml
|
|
31
|
+
- name: Preserve results
|
|
32
|
+
if: always()
|
|
33
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
34
|
+
with:
|
|
35
|
+
name: transaction-model-results
|
|
36
|
+
path: transaction-model.xml
|
|
@@ -18,7 +18,7 @@ repos:
|
|
|
18
18
|
- id: gitleaks
|
|
19
19
|
# uv lockfile management
|
|
20
20
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
21
|
-
rev: 0.13.
|
|
21
|
+
rev: 0.13.6
|
|
22
22
|
hooks:
|
|
23
23
|
- id: uv-lock
|
|
24
24
|
# Base hooks
|
|
@@ -71,7 +71,7 @@ repos:
|
|
|
71
71
|
args: [--force-exclude]
|
|
72
72
|
# Lint & format with ruff
|
|
73
73
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
74
|
-
rev: v0.17.
|
|
74
|
+
rev: v0.17.3
|
|
75
75
|
hooks:
|
|
76
76
|
- id: ruff-check
|
|
77
77
|
args: [--config=pyproject.toml, --exit-non-zero-on-fix]
|
|
@@ -63,8 +63,8 @@ Optional extras (see pyproject.toml): drivers `postgres` (psycopg3), `mysql`, `m
|
|
|
63
63
|
- pyodbc connection pooling (decided 2026-10-16): off. The SQL Server, Access and DSN adapters set `pyodbc.pooling = False` before connecting, so every `CONNECT` and `execsql.run()` is a new session (unixODBC handed pooled sessions back with their temp tables and `SET` options). Process-wide and documented; no config option, because pyodbc applies it only at the process's first connection.
|
|
64
64
|
- Data integrity in IMPORT / EXPORT / COPY (decided 2026-10-16, critical): never change or mangle data. A change to how values are converted, inserted or written must store exactly what the old code stored, proven by a differential test over every value type × column type (and the error cases); speed never justifies a different stored value. PostgreSQL `COPY FROM STDIN` was dropped from PR #95 for this reason (37 silent differences).
|
|
65
65
|
- Loads into an existing table (decided 2026-10-17, issue #100): `IMPORT` / `COPY` into a table that already exists convert each value by the target column's type, not by the type scanned from the source; a text column gets the source value as written. A value with a fraction going into an integer column is an error, never rounded. `TO NEW` / `TO REPLACEMENT` still create and fill the table from the scan. `tests/db/test_existing_table_loads.py` holds the before/after record (`tests/data/existing_table_loads/`).
|
|
66
|
-
- Conditions that cannot be evaluated (decided 2026-10-19, issue #112): an `IF`, `ELSEIF`, `ANDIF`, `ORIF` or `
|
|
67
|
-
- Control flow from a substitution variable (decided 2026-10-19, issue #113): `-- !x! !!cmd!!` holding an `INCLUDE`, `EXECUTE SCRIPT`, `IF` or other block metacommand fails with an error instead of running; upstream ran it.
|
|
66
|
+
- Conditions that cannot be evaluated (decided 2026-10-19, issue #112; extended 2026-11-04, issue #117): an `IF`, `ELSEIF`, `ANDIF`, `ORIF`, `LOOP`, `ASSERT` or `WAIT_UNTIL` condition that raises stops the run, whatever `METACOMMAND_ERROR_HALT` says. Upstream carried on past a bad inline `IF` (and ran both branches of a block `IF`), and ignored bad `WAIT_UNTIL` conditions with metacommand halting off. A bad condition is a script bug; it cannot be ignored as an ordinary metacommand error, including when a database error is raised inside the condition (`HASROWS`, `TABLE_EXISTS`). A valid false ASSERT still follows `METACOMMAND_ERROR_HALT`, and WAIT_UNTIL still follows its timeout clause for a valid condition that remains false.
|
|
67
|
+
- Control flow from a substitution variable (decided 2026-10-19, issue #113): `-- !x! !!cmd!!` holding an `INCLUDE`, `EXECUTE SCRIPT`, `IF` or other block metacommand fails with an error instead of running; upstream ran it. Block boundaries added with `EXTEND SCRIPT … WITH METACOMMAND` are rejected before modifying the named script (#119); define complete blocks with `BEGIN SCRIPT` and append them with `WITH SCRIPT`. Dynamic block errors give that alternative and consistently follow `METACOMMAND_ERROR_HALT`, including boundaries without dispatch entries. Runtime block parsing is not implemented because the maintainer has no use for it and run-time re-classification of every metacommand kept leaking gaps in #111. `INCLUDE !!file!!` / `EXECUTE SCRIPT !!name!!` / `IF (!!cond!!)` are the supported forms.
|
|
68
68
|
- Batches left early (decided 2026-10-21, issue #121): a `BEGIN BATCH` block is committed only at `END BATCH`. `BREAK`, an error or `HALT` rolls it back; `exit_now` does so before an `ON ERROR_HALT` / `ON CANCEL_HALT` script runs, so that script's SQL commits. A nested batch left while the outer batch carries on hands its statements to the outer batch (maintainer's choice), and under `AUTOCOMMIT OFF` nothing is rolled back, mirroring `END BATCH`, which commits nothing there.
|
|
69
69
|
- DISCONNECT (decided 2026-10-22, issue #124): `DISCONNECT FROM` an alias that is not connected is a metacommand error, worded like `USE`'s ("Unrecognized database alias: x."); aliases match in any case; a database an open batch has used is refused.
|
|
70
70
|
- Batch rules (decided 2026-10-22, issue #125, "model A"): a batch commits at `END BATCH` only if nothing in it failed. (1) If anything in a batch fails — an SQL statement, a metacommand, or a metacommand's SQL — that batch and every batch around it are not committed. Marked in one place, `_fail_open_batches()`, called by `_sql_failed()` and `_metacommand_failed()` (decided after PR #131's third review: marking at each database rollback site kept missing paths, such as Access, PG_UPSERT and a failed BEGIN). (2) A failed batch is rolled back at `END BATCH`, which reports an SQL error that `ERROR_HALT` governs; `END BATCH` clears `SQL_ERROR()` first, so right after it `SQL_ERROR()` says whether the batch was committed; `ROLLBACK BATCH` does not undo the failure (no recovery). A failed `END BATCH` commit rolls back the databases not yet committed and fails the enclosing batches. (3) `BREAK`, an error or `HALT` rolls the batch back (#121). (4) Where nothing can be held back the batch promises nothing, and the docs say so: `AUTOCOMMIT OFF` (END BATCH still reports the failure; the script's transaction is left to it), a driver that commits every statement, and `IMPORT` / `COPY` / `EXECUTE` / `AUTOCOMMIT ON WITH COMMIT`, which commit on their own. (5) Outside a batch, a failed commit must not leave work pending (#135, open). Savepoint-per-statement (psql's ON_ERROR_ROLLBACK) was considered and not chosen.
|
|
@@ -13,6 +13,70 @@ ______________________________________________________________________
|
|
|
13
13
|
|
|
14
14
|
______________________________________________________________________
|
|
15
15
|
|
|
16
|
+
## [2.40.0] - 2026-11-12
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- `EXTEND SCRIPT ... WITH METACOMMAND` rejects block boundaries before adding them; define complete blocks with `BEGIN SCRIPT` and append them with `WITH SCRIPT`.
|
|
21
|
+
- Block metacommands supplied by substitution variables consistently follow `METACOMMAND_ERROR_HALT`, including `END LOOP`, `BEGIN` / `CREATE` / `END SCRIPT` and `BEGIN` / `END SQL`.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- Dynamic block metacommand errors explain where to write the block instead of reporting an internal parser failure.
|
|
26
|
+
|
|
27
|
+
______________________________________________________________________
|
|
28
|
+
|
|
29
|
+
## [2.39.1] - 2026-11-11
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **`PROMPT SELECT_ROWS` in Tkinter and Textual** lets you remove one newly selected destination copy with a double-click or Enter before saving; existing destination rows are preserved.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- **`ASSERT` and `WAIT_UNTIL`** stop when a condition cannot be parsed or evaluated, even with `METACOMMAND_ERROR_HALT OFF`; correct the condition or its query instead of skipping the check.
|
|
38
|
+
- **`IMPORT` / `COPY … TO NEW`** report failed catalog checks as metacommand errors; restore catalog access before retrying; an open batch fails even with `METACOMMAND_ERROR_HALT OFF`.
|
|
39
|
+
- **`PROMPT SELECT_ROWS` in Textual** highlights on a single click; double-click or Enter adds a source copy or removes an added destination copy.
|
|
40
|
+
- **`PROMPT CONNECT`** attempts a connection without another password prompt when its password field is blank.
|
|
41
|
+
- **Textual console Quit** keeps the console responsive while waiting for the script worker and rollback to finish; a blocked driver may delay shutdown until it returns.
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
|
|
45
|
+
- **Condition errors in scripts, `execsql lint`, and editor diagnostics** name unknown tests, suggest close spellings, and explain malformed arguments, missing parentheses, and unsupported comparisons.
|
|
46
|
+
- **`PROMPT SELECT_ROWS` with Tkinter or Textual** saves confirmed selections to the destination table, preserving typed values, duplicate selections and existing rows; Cancel discards the selections; `AUTOCOMMIT OFF` and batches retain control of the transaction.
|
|
47
|
+
- **`INCLUDE` inside `LOOP`** resolves deferred variables in filenames on each pass; use `INCLUDE part_!{i}!.sql` to select a different file per iteration.
|
|
48
|
+
- **Firebird** table checks preserve pending work under `AUTOCOMMIT OFF` and inside batches; failed catalog and `IMPORT` / `COPY` DDL commits roll back instead of leaving work for a later commit.
|
|
49
|
+
- **Firebird connections** accept the configured host, port and 30-second timeout with the `firebird-driver` extra.
|
|
50
|
+
- **`WRITE CREATE_TABLE … IN`, `PROMPT ENTRY_FORM`, and `PROMPT ACTION`** read sources without catalog access, preserving temporary tables and views and avoiding catalog-query rollbacks inside batches.
|
|
51
|
+
- **Textual console errors**, including failed final file writes, run `ON ERROR_HALT` cleanup before closing database connections.
|
|
52
|
+
- **`PROMPT ACTION`** stops after a selected script's unevaluable condition or other fatal error, even with `METACOMMAND_ERROR_HALT OFF`.
|
|
53
|
+
- **Textual dialog failures** follow `METACOMMAND_ERROR_HALT` instead of quitting the console; with halting off, later prompts remain usable.
|
|
54
|
+
- **SQLite in the full Textual console** runs scripts and closes initial and additional connections without thread-ownership errors.
|
|
55
|
+
- **Password-free PostgreSQL, MySQL/MariaDB, Oracle, Firebird and DSN connections** retain the requested username; skipping a password prompt no longer selects a different account.
|
|
56
|
+
- **Firebird connections** use the driver's default identity when no username is supplied.
|
|
57
|
+
- **`PROMPT ACTION` in Tkinter** fits its initial window to the content, wraps descriptions and scrolls long content while keeping Continue and Cancel visible.
|
|
58
|
+
- **`CONSOLE WIDTH|HEIGHT` and console sizing configuration** resize the native Tk console and retain the chosen size across `CONSOLE OFF` / `ON`.
|
|
59
|
+
- **`PROMPT CONNECT`** accepts port, encoding and masked password inputs in Tkinter, Textual and console; file-based databases show file selection instead of network fields.
|
|
60
|
+
- **Textual console interruption** exits with status 130 after cleanup, without recording normal completion or closing output while the script is still active.
|
|
61
|
+
- **`PROMPT ASK` in Textual** returns `No` when No is selected, including with `COMPARE`; cancellation remains a separate action.
|
|
62
|
+
- **`PROMPT ENTER_SUB`** validates `TYPE INT|FLOAT|BOOL|IDENT`, expands Boolean prefixes and applies `LCASE|UCASE` in every backend; invalid entries can be corrected before confirmation.
|
|
63
|
+
- **`PROMPT ENTER_SUB` in console** preserves leading and trailing spaces.
|
|
64
|
+
- **`PROMPT COMPARE`** matches composite keys by column name when table columns are reordered; incomplete keys no longer produce partial matches.
|
|
65
|
+
- **Tkinter on macOS** uses native dialogs on the main thread without requiring `DISPLAY` or `WAYLAND_DISPLAY`; initialization from a worker falls back to Textual with a diagnostic.
|
|
66
|
+
- **`PROMPT CREDENTIALS`** uses the configured Tkinter or Textual dialog when GUI input is enabled; Cancel follows `CANCEL_HALT` and preserves existing credentials when halting is off.
|
|
67
|
+
- **Tkinter credential dialogs** open successfully with a prompt message.
|
|
68
|
+
- **`PROMPT ENTRY_FORM`** assigns each global or `~local` field in its declared scope, regardless of specification order.
|
|
69
|
+
- **`PROMPT ENTRY_FORM` in Textual** accepts selected listbox values, preserves SQL quoting and rejects dropdown values outside the lookup list.
|
|
70
|
+
- **`PROMPT ACTION`** runs the chosen named script with its required row data; script errors and transaction controls follow normal `EXECUTE SCRIPT` behavior.
|
|
71
|
+
- **`PROMPT ACTION … CONTINUE`** closes the dialog without running an action or replacing data variables.
|
|
72
|
+
- **`PROMPT SELECT_SUB`** displays source rows and assigns the selected `@column` variables in Tkinter, Textual and console, preserving numeric precision and representing NULL as an empty string.
|
|
73
|
+
- **`PROMPT SELECT_SUB … CONTINUE`** offers Continue in Tkinter and console as well as Textual; continuing without a selection leaves the displayed columns' data variables undefined.
|
|
74
|
+
- **GUI prompts** report dialog failures as metacommand errors instead of accepting them as successful responses; a failed prompt prevents an open batch from committing.
|
|
75
|
+
- **`CANCEL_HALT` in Tkinter and Textual** honors `OFF` and runs `ON CANCEL_HALT` cleanup when `ON`, including in the Textual console; Escape and Cancel agree for file and directory prompts.
|
|
76
|
+
- **`DIALOG_CANCELED()`** reports whether the last dialog was canceled; a subsequent accepted dialog clears it.
|
|
77
|
+
|
|
78
|
+
______________________________________________________________________
|
|
79
|
+
|
|
16
80
|
## [2.38.0] - 2026-11-03
|
|
17
81
|
|
|
18
82
|
### Added
|
|
@@ -87,6 +87,16 @@ SQL Server is included only when an ODBC driver for it is installed. A template
|
|
|
87
87
|
|
|
88
88
|
`tests/test_transaction_model.py` checks the transaction rules (batches, `BREAK`, failed commits, `AUTOCOMMIT`, `ERROR_HALT`, an `ON ERROR_HALT` script, and interrupts: `KeyboardInterrupt` or a plain `SystemExit` after a statement, inside a metacommand, or before or after a commit) against scripts [Hypothesis](https://hypothesis.readthedocs.io/) generates: a small model of one SQLite connection predicts the rows stored, the rows left pending on the caller's connection, the errors reported and `SQL_ERROR()`, and a mismatch is shrunk to the shortest script that still differs. Each run, CI included, tries 700 new scripts (about 7 s); `EXECSQL_MODEL_EXAMPLES=5000` tries more (about a minute). A failure of this test, in CI too, is a bug in execsql or in the model: add the script it prints as an `@example` and fix one or the other, rather than rerunning. When you change a transaction rule, change the model with it; a combination that matters but is rarely generated goes in an `@example`.
|
|
89
89
|
|
|
90
|
+
The **Transaction model** workflow runs 5,000 generated scripts every Monday at 07:23 UTC and can be started manually from GitHub Actions. It runs on SQLite, without the full-suite coverage floor, and saves a JUnit report containing any failing example. Run the same check locally with:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
EXECSQL_MODEL_EXAMPLES=5000 uv run pytest tests/test_transaction_model.py -n 0 --no-cov
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Keep focused regressions for multiple databases, driver behavior, error messages and BREAKPOINT input: the single-connection model does not replace them. Duplicate single-case checks have been consolidated into permanent `@example` cases.
|
|
97
|
+
|
|
98
|
+
Whole-script CLI tests allow 120 seconds on Windows, where durable SQLite commits on shared runners have approached or exceeded a 30-second limit. Other platforms keep their 30-second defaults (60 seconds for standalone script fixtures). Explicit short timeout regressions keep their own limits. CI points temporary files at `runner.temp`; SQLite's normal durability and transaction settings remain in effect. Timed-out CLI processes report watchdog stacks, and slow successful processes report them as pytest warnings without changing the script's stdout/stderr or output files.
|
|
99
|
+
|
|
90
100
|
### Script behavior corpus
|
|
91
101
|
|
|
92
102
|
`tests/corpus/` checks that whole scripts do under execsql2 what they did under upstream execsql 1.130.1: the same exit status, console output, files written and table contents. Each case is a directory in `tests/corpus/cases/` holding `script.sql` and the files it reads. Upstream's results are recorded in `tests/corpus/results/`, so the normal test run compares against them without upstream installed. A variable a case checks is `WRITE`n to a file, because upstream has no way to read variables after a run.
|
|
@@ -98,6 +108,21 @@ uv run python -m tests.corpus.record my_new_case
|
|
|
98
108
|
uv run pytest tests/corpus
|
|
99
109
|
```
|
|
100
110
|
|
|
111
|
+
Firebird transaction regressions run against a disposable database when `EXECSQL_FIREBIRD_DATABASE` is set. Install the `[firebird]` extra and the native Firebird client library, then set these variables for a server you own:
|
|
112
|
+
|
|
113
|
+
```sh
|
|
114
|
+
export EXECSQL_FIREBIRD_DATABASE=/var/lib/firebird/data/execsql.fdb
|
|
115
|
+
export EXECSQL_FIREBIRD_HOST=localhost
|
|
116
|
+
export EXECSQL_FIREBIRD_PORT=3050
|
|
117
|
+
export EXECSQL_FIREBIRD_USER=SYSDBA
|
|
118
|
+
export EXECSQL_FIREBIRD_PASSWORD=your-test-password
|
|
119
|
+
uv run pytest tests/db/test_firebird_live.py tests/corpus -k firebird
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The tests create and drop tables, exceptions and transaction triggers: use only a disposable database. The official [Firebird Docker image](https://github.com/FirebirdSQL/firebird-docker) can provide one; the fix for #138 was verified with Firebird 5.0.4. This opt-in suite does not change Firebird's best-effort support tier.
|
|
123
|
+
|
|
124
|
+
A corpus case with a `requires-firebird` marker starts with Firebird instead of SQLite and exports observations to files. Its test skips when the database variable is absent; recording all cases skips it too, while explicitly recording it requires a configured server. To re-record it, install `fdb` into the upstream environment as well as the native client library, then run `uv run python -m tests.corpus.record firebird_catalog_holds`. Credentials are passed through the driver's environment variables and are never recorded. The live tests and native corpus cases share an xdist group so their transaction triggers cannot interfere.
|
|
125
|
+
|
|
101
126
|
Use only syntax upstream accepts; read `_execsql/execsql.py` when unsure. A case must not open a GUI dialog (`HALT "message"`, `PROMPT`) or loop forever under upstream: both hang the recording. Nor may it read a file it has just written (`FILE_EXISTS`, `ZIP`, `IMPORT` right after a `WRITE`): both programs write files in the background, so the result depends on timing; put such a file among the case's inputs instead. A difference from upstream fails the test unless `tests/corpus/changes.json` lists it with both values, a `status` (`accepted` for an upstream bug execsql2 fixed on purpose, `open` for one not yet decided) and the reason.
|
|
102
127
|
|
|
103
128
|
## Building the Docs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: execsql2
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.40.0
|
|
4
4
|
Summary: Runs a SQL script against a PostgreSQL, SQLite, MariaDB/MySQL, DuckDB, Firebird, MS-Access, MS-SQL-Server, or Oracle database, or an ODBC DSN. Provides metacommands to import and export data, copy data between databases, conditionally execute SQL and metacommands, and dynamically alter SQL and metacommands with substitution variables.
|
|
5
5
|
Project-URL: Homepage, https://execsql2.readthedocs.io/en/stable/
|
|
6
6
|
Project-URL: Repository, https://github.com/geocoug/execsql
|
|
@@ -351,7 +351,7 @@ execsql format --no-sql --in-place scripts/
|
|
|
351
351
|
```yaml
|
|
352
352
|
repos:
|
|
353
353
|
- repo: https://github.com/geocoug/execsql
|
|
354
|
-
rev: v2.
|
|
354
|
+
rev: v2.40.0
|
|
355
355
|
hooks:
|
|
356
356
|
- id: execsql-format
|
|
357
357
|
- id: execsql-lint
|
|
@@ -69,6 +69,122 @@ ______________________________________________________________________
|
|
|
69
69
|
|
|
70
70
|
### Bug Fixes
|
|
71
71
|
|
|
72
|
+
`PROMPT ACTION` preserves the selected script's fatal errors. An unevaluable condition or other error that stops `EXECUTE SCRIPT` also stops ACTION execution, even with `METACOMMAND_ERROR_HALT OFF`; errors are not downgraded to ignorable prompt failures. Invalid targets and missing arguments still follow the prompt's normal error policy.
|
|
73
|
+
|
|
74
|
+
Textual dialog construction and control failures follow the script's metacommand error policy in ordinary prompts and the full console. They close the failed dialog and fail open batches; with `METACOMMAND_ERROR_HALT OFF`, later prompts remain usable. They do not count as user cancellation or console Quit.
|
|
75
|
+
|
|
76
|
+
The full Textual CLI console opens, uses and closes database connections on its script worker, including the initial SQLite connection and connections added by `CONNECT` or `PROMPT CONNECT`. Cleanup finishes before the worker stops on normal completion, halts, errors and interruption. Fatal errors, including those from an ACTION-selected script or final file-output flush, run `ON ERROR_HALT` cleanup before the connections close. SQLite retains its same-thread connection guard.
|
|
77
|
+
|
|
78
|
+
PostgreSQL, MySQL/MariaDB, Oracle, Firebird and ODBC DSN connections forward an explicit username independently of password presence. `--no-passwd`, `password_prompt=No`, `CONNECT ... NEED_PWD=FALSE` and blank-password `PROMPT CONNECT` requests therefore keep the selected identity. Supplied passwords, including explicit empty strings at the adapter API, are passed independently of the prompt flag; omitted passwords leave driver authentication defaults available. Firebird preserves an omitted username rather than converting it into a literal account name.
|
|
79
|
+
|
|
80
|
+
Tkinter and Textual `PROMPT SELECT_ROWS` can remove a staged destination copy by double-click or Enter, without deleting rows already stored in the destination table. Duplicate copies remain independent, and removed copies are excluded from the eventual write. Textual uses single clicks to highlight and double-clicks/Enter to change the staged selection. Native `PROMPT ACTION` measures content for its initial size, wraps descriptions and provides scrolling with a persistent Continue/Cancel footer, replacing the fixed-height layout that clipped controls.
|
|
81
|
+
|
|
82
|
+
Native Tk console sizing uses the active backend: configuration values apply at creation, and `CONSOLE WIDTH` / `HEIGHT` resize the actual text widget and window. Commanded dimensions persist across OFF/ON and manual window closure; resizing preserves position and does not show a hidden window. The modular implementation previously updated a disconnected legacy handle and left the console at fixed defaults. Textual and console backends retain the settings without resizing their host terminal.
|
|
83
|
+
|
|
84
|
+
`PROMPT CONNECT` collects and forwards optional port, encoding and masked password inputs in all three backends. An empty password explicitly attempts a connection without another execsql password prompt or keyring lookup; normal driver authentication settings may still apply. SQLite, DuckDB and Access use file-path presentation, with native Browse in Tkinter, and ignore hidden network fields. DSNs use their configured server/port. Invalid ports remain editable before submission. See [PROMPT CONNECT](../reference/metacommands.md#prompt_connect) for supported controls and defaults.
|
|
85
|
+
|
|
86
|
+
Textual console Quit waits for script-worker termination and interrupt
|
|
87
|
+
rollback before output/connection cleanup. The modular console previously
|
|
88
|
+
closed its event loop immediately and could log normal completion while the
|
|
89
|
+
worker was still running. Pending dialog waiters receive a distinct
|
|
90
|
+
interruption response, and later dialog requests cannot block shutdown.
|
|
91
|
+
Repeated Quit requests do not inject another interrupt into cleanup. The
|
|
92
|
+
console stays responsive while waiting for a blocked driver to return, then
|
|
93
|
+
reports interruption with exit status 130. Normal completion and deliberate
|
|
94
|
+
HALT retain their own outcomes.
|
|
95
|
+
|
|
96
|
+
Textual `PROMPT ASK` and `PROMPT ASK … COMPARE` preserve No as a real
|
|
97
|
+
answer with value zero. The modular button builder previously turned zero
|
|
98
|
+
into the cancellation action, so clicking No halted the script or left the
|
|
99
|
+
answer unchanged with CANCEL_HALT OFF. No now assigns the documented value
|
|
100
|
+
without cancelling; Cancel and Escape remain separate.
|
|
101
|
+
|
|
102
|
+
`PROMPT ENTER_SUB` applies its documented TYPE and LCASE/UCASE controls
|
|
103
|
+
in Tkinter, Textual and console. The modular backends previously ignored
|
|
104
|
+
these request fields. Shared submission validation retains invalid entries
|
|
105
|
+
for correction, allows empty values, expands BOOL prefixes and then applies
|
|
106
|
+
case conversion. The script handler also checks confirmed values before
|
|
107
|
+
assignment. Console plain-text entry preserves spaces instead of stripping
|
|
108
|
+
them; its existing blank-response default for INITIALLY is retained.
|
|
109
|
+
|
|
110
|
+
`PROMPT COMPARE` uses the declared composite-key order for row differences
|
|
111
|
+
and Tkinter/Textual cross-table selection. The modular backends previously
|
|
112
|
+
assembled keys in each table's physical column order, falsely separating
|
|
113
|
+
matching rows when key columns were reordered. A missing key column now
|
|
114
|
+
disables keyed comparison and selection rather than using a partial key.
|
|
115
|
+
The existing first-row rule for repeated keys is preserved.
|
|
116
|
+
|
|
117
|
+
Native macOS Tk is attempted when `gui_framework=tkinter`, even without
|
|
118
|
+
X11/Wayland environment variables. The modular headless guard previously
|
|
119
|
+
treated macOS as an X11 desktop and silently selected Textual instead. Native Tk initialization from a macOS worker thread is skipped before creating any Tk windows; the existing Textual/console fallback reports that native Tk requires the main thread.
|
|
120
|
+
Other POSIX hosts without a display still skip Tk; genuine Tk startup
|
|
121
|
+
failures fall back to Textual, then console prompts when Textual is
|
|
122
|
+
unavailable. Fallback reports its reason and selected backend on stderr.
|
|
123
|
+
|
|
124
|
+
`PROMPT CREDENTIALS` initializes and uses the configured GUI transport
|
|
125
|
+
without requiring a manager thread. The modular helper previously bypassed
|
|
126
|
+
Tkinter and Textual synchronous queues and read from the terminal instead.
|
|
127
|
+
Cancellation follows `CANCEL_HALT`, preserving old values with halting off
|
|
128
|
+
and clearing the named variables before halting and cleanup when on.
|
|
129
|
+
An accepted pair of empty fields remains distinguishable from cancellation.
|
|
130
|
+
Tkinter credential dialogs keep packed message/help widgets separate from
|
|
131
|
+
the gridded fields, so a nonempty message no longer prevents construction.
|
|
132
|
+
|
|
133
|
+
`PROMPT ENTRY_FORM` assigns each field in its declared global or `~local`
|
|
134
|
+
scope rather than using the final specification row for every field.
|
|
135
|
+
Textual widget IDs are independent of variable names, so local fields can
|
|
136
|
+
open normally. Textual listboxes serialize selected values with SQL quoting
|
|
137
|
+
and preserve separately selected rows with identical labels. Dropdown and
|
|
138
|
+
select fields reject values absent from their lookup list, matching the
|
|
139
|
+
restriction already applied by Tkinter and console.
|
|
140
|
+
|
|
141
|
+
`PROMPT ACTION` executes the selected named script through the AST executor
|
|
142
|
+
after the GUI returns. The modular backends previously returned only a
|
|
143
|
+
button value and the handler ran no action. Data-required actions receive
|
|
144
|
+
the original selected row as data variables (NULL becomes empty text), while
|
|
145
|
+
other actions and Continue preserve existing data variables. Continue has
|
|
146
|
+
a distinct response and runs no action. Data-required buttons remain
|
|
147
|
+
unavailable until a row is selected, including in the console backend.
|
|
148
|
+
|
|
149
|
+
`PROMPT SELECT_SUB` displays and returns source rows consistently across
|
|
150
|
+
Tkinter, Textual and console. The modular handler and backends disagreed on
|
|
151
|
+
the request and result formats, leaving the source empty or raising an error
|
|
152
|
+
instead of assigning data variables. Selection retains original Python
|
|
153
|
+
values until conversion to substitution text, including exact decimals and
|
|
154
|
+
NULL as an empty string. Continue is available on every backend and leaves
|
|
155
|
+
the source columns' data variables undefined, as documented.
|
|
156
|
+
|
|
157
|
+
GUI backend failures are reported as metacommand errors and fail open batches,
|
|
158
|
+
rather than being accepted as successful confirmations. Tkinter and Textual
|
|
159
|
+
return cancellation to the script thread so `CANCEL_HALT` and `ON CANCEL_HALT`
|
|
160
|
+
actions apply consistently, including in the persistent Textual console.
|
|
161
|
+
Escape and Cancel agree for path pickers, and `DIALOG_CANCELED()` reflects the
|
|
162
|
+
last dialog. Error and cancellation policy runs in the script's normal
|
|
163
|
+
metacommand path; a failure to display a HALT message still stops the run.
|
|
164
|
+
|
|
165
|
+
Condition parse errors name unknown tests and suggest close spellings, show
|
|
166
|
+
the expected syntax for malformed arguments, and identify missing parentheses,
|
|
167
|
+
missing commas and unsupported comparisons. Runtime errors, `execsql lint`
|
|
168
|
+
P004 findings and editor diagnostics share the wording. Upstream reports a
|
|
169
|
+
parser position or an unconsumed suffix (even `_SUCH_FN` for `NO_SUCH_FN`).
|
|
170
|
+
The accepted condition syntax and `CondParserError` type are unchanged (#118).
|
|
171
|
+
|
|
172
|
+
`PROMPT SELECT_ROWS` saves rows selected in the Tkinter and Textual dialogs
|
|
173
|
+
through the script's destination connection when Continue is pressed. The
|
|
174
|
+
modular dialogs previously changed only their widgets, leaving the SQL table
|
|
175
|
+
unchanged. Original Python values, duplicate selections and existing rows are
|
|
176
|
+
preserved, with source columns matched by name and destination defaults applied
|
|
177
|
+
to extra columns. Unlike upstream, which inserted from its GUI callback on
|
|
178
|
+
each double-click, selections are staged until confirmation and discarded on
|
|
179
|
+
Cancel. Successful writes follow AUTOCOMMIT and BATCH transaction rules (#175).
|
|
180
|
+
|
|
181
|
+
`INCLUDE` filenames inside `LOOP WHILE`
|
|
182
|
+
or `LOOP UNTIL` resolve deferred variables on every iteration, including through
|
|
183
|
+
IF and BATCH blocks. Upstream leaves the converted `!!var!!` token unresolved
|
|
184
|
+
in an INCLUDE filename, so `INCLUDE part_!{i}!.sql`
|
|
185
|
+
cannot select a file per pass. Substitution still happens once, so counters
|
|
186
|
+
advance once and a failed directive reports its resolved filename (#114).
|
|
187
|
+
|
|
72
188
|
IMPORT/COPY converts only selected source columns; excluded values cannot fail database binding checks. Upstream converted all source columns before discarding excluded ones.
|
|
73
189
|
|
|
74
190
|
WRITE/TEE background-writer waits use an absolute deadline for filename resolution and status, close and failure replies, so a live worker blocked in I/O cannot hold the script or API flush forever. On timeout the worker is abandoned, queued output is discarded, and cleanup does not wait again or flush abandoned buffers. Its in-progress I/O can finish later; after that it starts no new opens or writes. Each successful write is flushed, and the error names the operation, file and queued destinations. Output remains incremental and can be partial; synchronous EXPORT I/O is outside this guarantee. Upstream could wait indefinitely or continue queued writes after the caller stopped waiting.
|
|
@@ -295,16 +411,29 @@ All 33 mutable runtime globals in `state.py` have been consolidated into a `Runt
|
|
|
295
411
|
### Database Adapters
|
|
296
412
|
|
|
297
413
|
- **PostgreSQL driver is psycopg3** — the PostgreSQL adapter uses `psycopg` (psycopg3, installed via the `psycopg[binary]` extra) instead of upstream's `psycopg2`. The connection now passes the libpq `dbname` keyword (psycopg3 rejects psycopg2's `database`), `VACUUM` toggles `conn.autocommit` instead of the removed `set_session()`, server-side `COPY` import uses psycopg3's `cursor.copy()` context manager instead of `copy_expert()`, and binary `IMPORT` sends raw `bytes` instead of `psycopg2.Binary()`. This also makes `db.conn` directly usable by the `PG_UPSERT` metacommand's pg-upsert ≥1.26.0 dependency, which itself requires a psycopg3 connection. The connection sets `prepare_threshold=None` to disable psycopg3's automatic server-side prepared statements, which psycopg2 never used; without this, re-running a query (e.g. via `EXPORT`) against an object the script drops/recreates or alters raises `FeatureNotSupported: cached plan must not change result type`.
|
|
414
|
+
|
|
298
415
|
- **Oracle driver is python-oracledb** — the Oracle adapter imports `oracledb`, the driver the `oracle` extra installs, instead of upstream's `cx_Oracle` (which ships no wheels for Python 3.12+). The `makedsn` / `connect` calls are the same. `cx_Oracle` is still used when it is the only Oracle driver installed.
|
|
416
|
+
|
|
299
417
|
- **SQL Server tries ODBC Driver 18 first** — upstream's driver list stopped at Driver 17, so a machine with only Microsoft's current driver could not connect. Driver 18 encrypts the connection and verifies the server's certificate; the `trust_server_certificate` setting accepts a self-signed one.
|
|
418
|
+
|
|
300
419
|
- **DuckDB bulk inserts** — `IMPORT`, `COPY` and `EXPORT ... AS DUCKDB` insert many rows per `INSERT ... VALUES` statement instead of `executemany()`, which DuckDB runs one row at a time; the values stored are the same. While binding them, and only when pandas is not installed, `sys.modules["pandas"]` is `None`: the duckdb package looks pandas up twice per row, and without that entry each lookup searched `sys.path`.
|
|
420
|
+
|
|
301
421
|
- **Each pyodbc connection is a new session** — the SQL Server, Access and ODBC DSN adapters set `pyodbc.pooling = False` before they connect. With pyodbc's default pooling, unixODBC (macOS, Linux) handed a closed connection's session unchanged to the next connection to the same server, so temp tables and `SET` options from one `CONNECT`, or one `execsql.run()`, were still there in the next. pyodbc applies the setting at the process's first pyodbc connection, so it also covers other pyodbc connections the process makes, and has no effect if the program connected with pyodbc before execsql did.
|
|
422
|
+
|
|
302
423
|
- **`Database` is an ABC** — `open_db()` and `exec_cmd()` are abstract methods. Subclasses that omit them raise `TypeError` at instantiation instead of at call time.
|
|
424
|
+
|
|
303
425
|
- **Connection timeouts** — PostgreSQL and SQLite adapters accept a connection timeout parameter (default 30 seconds).
|
|
426
|
+
|
|
304
427
|
- **DuckDB temporal types** — `TIMESTAMPTZ`, `TIMESTAMP`, `DATE`, `TIME` now map to native DuckDB types instead of `TEXT`.
|
|
428
|
+
|
|
429
|
+
- **Firebird transaction boundaries** — `TABLE_EXISTS` and internal table checks no longer commit while AUTOCOMMIT is OFF or a batch is open. A failed catalog or mandatory DDL commit rolls back its transaction, including failures during IMPORT / COPY NEW or REPLACEMENT, instead of leaving work for a later commit. Successful mandatory DDL commits still commit all pending work even under AUTOCOMMIT OFF. Connections use the modern driver's named configuration API for host, port and the 30-second timeout.
|
|
430
|
+
|
|
305
431
|
- **`Database.auto_commits_ddl()` not provided** — 2.18.0 shipped this capability hook on the base `Database` class with `True` overrides on Oracle, MySQL, SQL Server, and MS Access. No call site ever consumed the hook, so 2.19.0 removed it. Its replacement is `Database.implicit_commit_rx`: MySQL and Oracle name the statements their server commits on its own (DDL), and a warning is written when one runs while `AUTOCOMMIT` is `OFF` or a batch is open. SQL Server holds DDL in a transaction like any other statement. (The companion hook `Database.needs_explicit_commit_after_ddl()`, used by the Firebird import path, remains.)
|
|
432
|
+
|
|
306
433
|
- **Statements are held until commit on every adapter** — while `AUTOCOMMIT` is `OFF` or a batch is open, `Database.before_statement()` makes sure each statement is inside a transaction. Most drivers already opened one; SQLite's (Python's `sqlite3`) opened one only before `INSERT`/`UPDATE`/`DELETE`/`REPLACE`, and DuckDB's never did, so upstream committed SQLite DDL, and every DuckDB statement, at once. SQLite now begins a transaction before other statements (except `VACUUM`, `ATTACH`, `DETACH`, `PRAGMA`); DuckDB begins one itself and tracks it.
|
|
434
|
+
|
|
307
435
|
- **DuckDB statements share one connection** — a DuckDB cursor is a separate connection with its own transaction and its own temporary tables, and upstream ran each statement on a new cursor, so a `CREATE TEMPORARY TABLE` was gone by the next statement and a held transaction did not cover them. Every statement now runs on the database's one connection. That connection holds one result at a time, so when a statement runs while another query's rows are still being read (`COPY` scans its source while reading it), the unread rows are fetched into memory first; an `EXPORT` still streams.
|
|
436
|
+
|
|
308
437
|
- **DuckDB `$LAST_ROWCOUNT`** — the duckdb driver's `rowcount` is always `-1`; DuckDB answers an `INSERT`, `UPDATE` or `DELETE` with a one-column `Count` result instead. The DuckDB adapter reads that result, so `$LAST_ROWCOUNT` holds the rows changed, as on the other adapters. Upstream set it to `-1`.
|
|
309
438
|
|
|
310
439
|
### Execution Engine
|
|
@@ -314,7 +443,8 @@ The legacy flat command-list engine (`_parse_script_lines` / `runscripts` / `Com
|
|
|
314
443
|
- **Native INCLUDE handling** — The AST executor parses INCLUDE'd files with the AST parser and executes them through the tree-walking executor. Control flow structures (IF/LOOP/BATCH/SCRIPT) in included files are fully tree-driven, with correct deferred variable handling and source-span error reporting.
|
|
315
444
|
- **Circular INCLUDE detection** — The executor tracks the full include chain and detects circular references (e.g. A includes B includes A), reporting the full chain in the error message. Upstream has no such detection. Replace recursive self-INCLUDE loops with LOOP/END LOOP or an iteratively called named SCRIPT; see the [loop recipe](../guides/examples.md#example6).
|
|
316
445
|
- **LOOP conditions are read on every pass** — The variables in a `LOOP WHILE` / `LOOP UNTIL` condition are substituted afresh before each pass, so `LOOP WHILE (IS_GT(10, !!n!!))` with `SUB_ADD n 1` in the body stops when `n` reaches 10. Upstream substituted them once, when the `LOOP` line ran, so a condition on a variable already defined never changed: the loop ran until a `BREAK`, or forever. Upstream scripts got per-pass conditions only from variables not yet defined when the loop started ("phantom variables") or from deferred `!{var}!` references, and both still work.
|
|
317
|
-
- **Control flow from a substitution variable** — A metacommand line whose text a substitution variable supplies (`-- !x! !!cmd!!`) cannot be an `INCLUDE`, `EXECUTE SCRIPT` (or `EXEC SCRIPT` / `RUN SCRIPT`) or a block metacommand (`IF`, `ELSEIF`, `ANDIF`, `ORIF`, `ELSE`, `ENDIF`, `LOOP`, `END LOOP`, `BEGIN BATCH`, `END BATCH`, `BEGIN SCRIPT` (or `CREATE SCRIPT`), `END SCRIPT`, `BEGIN SQL`, `END SQL`). execsql2 decides which lines are includes and blocks when it parses the script, before any variable is substituted, so such a line does not run.
|
|
446
|
+
- **Control flow from a substitution variable** — A metacommand line whose text a substitution variable supplies (`-- !x! !!cmd!!`) cannot be an `INCLUDE`, `EXECUTE SCRIPT` (or `EXEC SCRIPT` / `RUN SCRIPT`) or a block metacommand (`IF`, `ELSEIF`, `ANDIF`, `ORIF`, `ELSE`, `ENDIF`, `LOOP`, `END LOOP`, `BEGIN BATCH`, `END BATCH`, `BEGIN SCRIPT` (or `CREATE SCRIPT`), `END SCRIPT`, `BEGIN SQL`, `END SQL`). execsql2 decides which lines are includes and blocks when it parses the script, before any variable is substituted, so such a line does not run. Each is a metacommand error, which `METACOMMAND_ERROR_HALT OFF` skips without printing anything (test for it with `METACOMMAND_ERROR()`; `execsql.run()` still lists it in `result.errors`). Errors explain that the complete block must be written directly in the script (#119). Upstream substituted the line first and ran it. Write the metacommand in the script and put the variable in its argument instead: `INCLUDE !!file!!`, `EXECUTE SCRIPT !!name!!` and `IF (!!condition!!)` all work (decided in #113).
|
|
447
|
+
- **Blocks added with EXTEND SCRIPT** — `EXTEND SCRIPT ... WITH METACOMMAND` rejects block boundaries when the extension runs, before changing the named script. This includes boundaries nested in an inline IF. Upstream appended the lines and interpreted the block when the script ran. Define the complete block with `BEGIN SCRIPT` and append it with `EXTEND SCRIPT ... WITH SCRIPT` instead. Single commands, inline IFs containing a single command, INCLUDE and EXECUTE SCRIPT remain supported (#119).
|
|
318
448
|
- **BREAK leaves the innermost LOOP, SCRIPT or included file** — As upstream documents and did: a `BREAK` in a `SCRIPT` or `INCLUDE`d file outside a `LOOP` returns from that script or file, and never ends a loop that called the script or included the file. Two differences remain. A `BREAK` in the main script, outside all of these, is a metacommand error reported on the `BREAK`'s own line (the run stops unless `METACOMMAND_ERROR_HALT` is `OFF`); upstream logged a warning and carried on, so a misplaced `BREAK` went unnoticed. And a `BREAK` that is the body of an inline `IF (…) { BREAK }` leaves the loop; upstream ignored it and the loop ran on (decided in #115).
|
|
319
449
|
- **A batch left before END BATCH is rolled back** — A `BREAK`, an error or a `HALT` inside `BEGIN BATCH` rolls the batch back, and the script's later statements are committed as usual. Upstream left the batch open after a `BREAK`, so nothing after it was committed either and the run ended by rolling it all back. An error or `HALT` rolled the batch back in both, but upstream ran the `ON ERROR_HALT` / `ON CANCEL_HALT` script inside the still-open batch and so lost what that script wrote; execsql2 rolls back first, and the script's SQL is committed (unless `AUTOCOMMIT` is `OFF`). A nested batch that a `BREAK` leaves while the batch around it carries on is not rolled back on its own: the outer batch commits or rolls back its statements, so the result matches upstream there. Under `AUTOCOMMIT OFF`, leaving a batch early rolls nothing back, as `END BATCH` commits nothing. execsql2 2.36.0 and earlier committed the half-finished batch on a `BREAK`, an error or `HALT`, and committed a nested batch left by `BREAK` at once instead of with the outer batch (#121).
|
|
320
450
|
- **END BATCH whose commit fails** — When a commit at `END BATCH` fails on one database (a deferred constraint, for example), execsql2 rolls back that database and the batch's databases not yet committed, then reports an SQL error on the `END BATCH` line, which `ERROR_HALT` governs. An enclosing batch then rolls back at its own `END BATCH` instead of committing, and no batch opened inside it afterwards commits either (`ROLLBACK BATCH` does not undo this; `IMPORT`, `COPY`, `EXECUTE` and `AUTOCOMMIT ON WITH COMMIT` still commit unless `AUTOCOMMIT` is `OFF`, as in any batch). A database under `AUTOCOMMIT OFF` is left to the script. `END BATCH` clears `SQL_ERROR()` before its commit, as an SQL statement does, so right after `END BATCH` it says whether the batch was committed; upstream kept the value left by the last statement run before it. Upstream left the uncommitted databases' statements pending, so the next statement that committed on them (an `ON ERROR_HALT` script's, say) committed part of the failed batch; it reported the failure as a metacommand error. execsql2 2.36.0 and earlier did the same and reported it as an uncaught exception on a line of execsql's source (#125).
|
|
@@ -325,12 +455,14 @@ The legacy flat command-list engine (`_parse_script_lines` / `runscripts` / `Com
|
|
|
325
455
|
|
|
326
456
|
### Error Handling
|
|
327
457
|
|
|
458
|
+
**Catalog lookups cannot silently discard batch work** — `IMPORT` / `COPY … TO NEW` report failed table-existence or current-schema queries as metacommand errors, failing every enclosing batch even with `METACOMMAND_ERROR_HALT OFF`. An unknown current schema returned as `None` still leaves the unqualified conflict check to `CREATE TABLE`; a query that raises is an error. `WRITE CREATE_TABLE … IN`, `PROMPT ENTRY_FORM`, and `PROMPT ACTION` read their sources directly instead of probing the catalog first. This keeps readable temporary tables and views working without catalog permissions. Upstream attempted the read after swallowing any catalog error, even when that query had rolled back earlier batch statements. Read errors now reach the existing metacommand-error path without a preceding metadata query; an open batch cannot silently commit only its remaining work (#136).
|
|
459
|
+
|
|
328
460
|
- **Exception hierarchy** — All custom exceptions inherit from `ExecSqlError`, enabling `except ExecSqlError` to catch any execsql-originated error.
|
|
329
461
|
- **Exception chaining** — All `raise` statements inside `except` blocks preserve the original traceback via `from`.
|
|
330
462
|
- **Database and driver error messages** — End with the error itself (`OperationalError: table t already exists`). Upstream appended "in <file> on line N of execsql", a line of its own source; in the package the file was often a driver's and the line number another file's. Where in execsql the error was raised goes to `execsql.log` as `Raised at: execsql/<module>.py:<line>`.
|
|
331
463
|
- **Missing optional package messages** — Name the execsql2 extra that installs the package and how to add it to a `uv tool` or `pipx` install without dropping the extras already there (`uv tool install "execsql2[...,postgres]"`). Upstream pointed at the package's web page.
|
|
332
464
|
- **Config file errors** — An invalid value in `execsql.conf` stops a run with `Configuration error: <file>: <problem>` (and the line, for an unreadable file) plus a pointer to `execsql config --validate`. Upstream printed `Configuration error on line N of execsql.py`, where N was a line of its own source. A duplicate key, a missing section header or a bare `%` is reported the same way; upstream failed with an uncaught exception. Errors raised by `ConfigData` for a file are `ConfigFileError`, a subclass of `ConfigError`.
|
|
333
|
-
- **A condition that cannot be evaluated stops the run** — An `IF`, `ELSEIF`, `ANDIF`, `ORIF`, `LOOP` or `EXECUTE SCRIPT … WHILE` / `UNTIL` condition that cannot be evaluated stops the run, even with `METACOMMAND_ERROR_HALT OFF` and `ERROR_HALT OFF`, and the error report names the line and the condition. That covers an unknown test or malformed condition (`IF (NO_SUCH_FN(x))`) and a test that fails in the database (`HASROWS(no_such_table)`). Upstream carried on: it skipped a bad inline `IF (…) { … }` as a metacommand error, hiding a failed query along with a typo; a top-level block `IF` ran both its body and its `ELSE` branch, and one inside another `IF` ran its body, skipped its `ELSE`, and closed the enclosing `IF` early, so that `IF`'s `ELSE` branch ran too. Upstream also stopped on a bad `LOOP` or `EXECUTE SCRIPT … WHILE` condition, but reported a line inside the loop. A condition that cannot be evaluated is a script bug, and carrying on would run the script down a branch nobody chose (decided in #112).
|
|
465
|
+
- **A condition that cannot be evaluated stops the run** — An `IF`, `ELSEIF`, `ANDIF`, `ORIF`, `LOOP` or `EXECUTE SCRIPT … WHILE` / `UNTIL` condition that cannot be evaluated stops the run, even with `METACOMMAND_ERROR_HALT OFF` and `ERROR_HALT OFF`, and the error report names the line and the condition. That covers an unknown test or malformed condition (`IF (NO_SUCH_FN(x))`) and a test that fails in the database (`HASROWS(no_such_table)`). Upstream carried on: it skipped a bad inline `IF (…) { … }` as a metacommand error, hiding a failed query along with a typo; a top-level block `IF` ran both its body and its `ELSE` branch, and one inside another `IF` ran its body, skipped its `ELSE`, and closed the enclosing `IF` early, so that `IF`'s `ELSE` branch ran too. Upstream also stopped on a bad `LOOP` or `EXECUTE SCRIPT … WHILE` condition, but reported a line inside the loop. A condition that cannot be evaluated is a script bug, and carrying on would run the script down a branch nobody chose (decided in #112). The same rule covers `ASSERT` and every poll of `WAIT_UNTIL` (#117): an unknown test, malformed condition or failing condition query halts even with both error-halt settings off. Upstream carried on past an unevaluable WAIT_UNTIL under METACOMMAND_ERROR_HALT OFF; ASSERT is an execsql2 addition. A valid false ASSERT still follows METACOMMAND_ERROR_HALT, and a valid false WAIT_UNTIL still follows its HALT / CONTINUE timeout clause.
|
|
334
466
|
- **ASSERT error type** — `ASSERT` failures now use a dedicated `"assert"` error type that produces `**** Assertion failed.` instead of `**** Error in metacommand.`. This distinguishes intentional script-level checks from actual metacommand errors. Upstream did not have `ASSERT`.
|
|
335
467
|
|
|
336
468
|
______________________________________________________________________
|
|
@@ -131,7 +131,7 @@ Four things are still shared by every thread in the process, so keep them apart
|
|
|
131
131
|
|
|
132
132
|
- **The working directory.** `CD` calls `os.chdir()`, which moves every thread while the script runs. Use absolute paths in scripts that run concurrently, or don't use `CD` in them. When a script that ran `CD` finishes, `run()` changes back to the directory it was in before that `CD`, so the caller ends where it started; a run without `CD` leaves the directory as it finds it.
|
|
133
133
|
- **The same output file.** Two runs writing one file at the same time can interleave their lines. Give each run its own output paths.
|
|
134
|
-
- **Interactive prompts.** `PROMPT` and the other GUI metacommands are not meant to be driven from several threads at once.
|
|
134
|
+
- **Interactive prompts.** `PROMPT` and the other GUI metacommands are not meant to be driven from several threads at once. On macOS, native Tk must initialize on the main thread; first selecting a GUI backend from a worker skips Tk and uses the existing Textual/console fallback, reporting the reason.
|
|
135
135
|
- **pyodbc's connection pooling.** Before its first SQL Server, Access or ODBC DSN connection, execsql turns pooling off (`pyodbc.pooling = False`), so every `CONNECT` and every `run()` gets a new database session: a temp table or `SET` option from one run is gone in the next. pyodbc reads the setting at the process's first pyodbc connection, so your own pyodbc connections are not pooled either, and if your program connects with pyodbc before execsql does, pooling stays on and runs against the same server can share a session.
|
|
136
136
|
|
|
137
137
|
### File Output { #file-output }
|
|
@@ -313,19 +313,58 @@ ______________________________________________________________________
|
|
|
313
313
|
|
|
314
314
|
## GUI Subsystem
|
|
315
315
|
|
|
316
|
-
|
|
316
|
+
### Backend selection and readiness
|
|
317
317
|
|
|
318
|
-
|
|
319
|
-
| ---------------- | ---------------- | -------------------------------------------------------------- |
|
|
320
|
-
| `TkinterBackend` | `gui/desktop.py` | Default when `--gui-framework tkinter` or Tkinter is available |
|
|
321
|
-
| `TextualBackend` | `gui/tui.py` | When `--gui-framework textual` is specified |
|
|
322
|
-
| `ConsoleBackend` | `gui/console.py` | Fallback when no GUI framework is available |
|
|
318
|
+
`utils.gui.enable_gui()` initializes the GUI lazily and returns immediately on later calls once `_active_backend` is set. The configured `gui_framework` chooses the backend; `gui_level` controls when callers request prompts or a console.
|
|
323
319
|
|
|
324
|
-
|
|
320
|
+
| Backend | Module | Selection |
|
|
321
|
+
| ---------------- | ---------------- | ---------------------------------------------------------------------------------------------------- |
|
|
322
|
+
| `TkinterBackend` | `gui/desktop.py` | First choice for `gui_framework=tkinter`; native macOS Tk is attempted without X11/Wayland variables |
|
|
323
|
+
| `TextualBackend` | `gui/tui.py` | Selected for `gui_framework=textual`, or when Tk is unavailable |
|
|
324
|
+
| `ConsoleBackend` | `gui/console.py` | Terminal input/output fallback when Textual is unavailable |
|
|
325
325
|
|
|
326
|
-
|
|
326
|
+
On POSIX hosts other than macOS, absent `DISPLAY` and `WAYLAND_DISPLAY` skip Tk initialization. A Tk startup error also falls through to Textual. Fallback reasons are written to stderr. Backend selection follows the configured framework even when another toolkit is installed.
|
|
327
327
|
|
|
328
|
-
|
|
328
|
+
The GUI backend reference in `utils.gui` is module-global. Call `enable_gui()` before posting a GUI request. Initialization installs a queue-compatible object in `_state.gui_manager_queue`; the concrete object determines where dispatch occurs. `_state.gui_manager_thread` exists only for the console fallback. Its presence or liveness cannot establish readiness for the synchronous Tk/Textual paths. `gui_console_isrunning()` queries the active backend for console state; a backend can be initialized while no console is open.
|
|
329
|
+
|
|
330
|
+
### Execution modes
|
|
331
|
+
|
|
332
|
+
The three backend classes implement `GuiBackend` (`gui/base.py`). Its `dispatch()` method maps `GuiSpec.gui_type` to handlers such as `show_msg`, `show_credentials` and `show_entry_form`. Textual queue adapters use a screen-class map directly; the backend's `show_*` methods also support direct calls through short-lived apps.
|
|
333
|
+
|
|
334
|
+
| Mode | Script execution | Dialog/UI execution | Request transport |
|
|
335
|
+
| ------------------------------ | ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- | ------------------------------ |
|
|
336
|
+
| Native Tk | Calling thread, normally the CLI main thread | Same thread; native dialogs run during `put()` | `_TkinterSyncQueue` |
|
|
337
|
+
| Ordinary Textual prompts | Calling thread | Same thread; each request runs a short-lived `_SingleDialogApp` | `_TextualSyncQueue` |
|
|
338
|
+
| Persistent Textual CLI console | `execsql-script` worker with the run's `RuntimeContext` explicitly bound | Main thread runs `ConsoleApp` and its modal screens | `_ConsoleDialogQueue` |
|
|
339
|
+
| Console fallback | Calling thread | Daemon `execsql-gui-manager` thread runs `gui_manager_loop()` and terminal prompts | Standard-library `queue.Queue` |
|
|
340
|
+
|
|
341
|
+
Tk widget operations must run on the main thread, particularly on macOS. `_TkinterSyncQueue.put()` calls `backend.dispatch()` synchronously, places the response on the request's return queue and services pending Tk events. Ordinary Textual dispatch likewise finishes its modal app before `put()` returns. Neither path creates a GUI manager thread.
|
|
342
|
+
|
|
343
|
+
The persistent Textual mode is selected by `cli.run._execute_script_ast()` when GUI level is greater than 2 and the active backend is Textual. `_execute_script_textual_console()` replaces the ordinary synchronous queue, redirects output to the app and starts connection initialization and script execution on the worker. The initial connection and runtime `CONNECT` / `PROMPT CONNECT` connections share that worker as their owner; SQLite retains its default same-thread guard. The worker closes its connection pool before terminating on success, halt, error or interruption, leaving the main-thread `atexit` callback an empty pool. Startup connection failures are reported while the UI loop is still available. A timer on the UI thread polls for requests, opens each modal screen and returns its result through the queue. Worker output/status updates use `call_from_thread()` to reach UI widgets. This CLI execution mode is distinct from merely issuing `CONSOLE ON` during an otherwise synchronous run.
|
|
344
|
+
|
|
345
|
+
The console fallback is the path where `enable_gui()` starts `gui_manager_loop()`. The loop dequeues requests and calls `backend.dispatch()`. It recognizes `None` as a stop sentinel; the thread is a daemon. This queue loop and the persistent Textual script worker have separate lifecycles.
|
|
346
|
+
|
|
347
|
+
### Responses, failures and cancellation
|
|
348
|
+
|
|
349
|
+
A `GuiSpec` carries its dialog type, argument dictionary and return queue. Consumers submit it through `_state.gui_manager_queue.put(spec)` and call `utils.gui.get_gui_response()` on the script thread. In synchronous modes the result is already queued when `put()` returns; threaded modes wait for the UI response.
|
|
350
|
+
|
|
351
|
+
Transport adapters turn backend `Exception` failures into dictionaries containing `error`. The Textual apps also intercept failures from the owned modal screen or its descendant message pumps during composition, mounting and input handling, dismissing that modal with an error result. Errors elsewhere in the app retain Textual's fatal-error handling. The checked receiver raises `ConsoleUIError` on the script thread before processing cancellation. The executor can then record a metacommand failure, fail open batches and apply the configured error-halt policy. Widget code collects answers; script-side consumers own variable assignments, destination-table writes and execution of a selected ACTION script. An error escaping that script travels through dispatch in `_ScriptExecutionError`; `_exec_metacommand()` re-raises the original exception to the AST caller. This preserves the called script's halt and cleanup behavior instead of applying the outer prompt's error policy. Target and argument validation remains an ordinary prompt error.
|
|
352
|
+
|
|
353
|
+
Cancellation returns dialog-specific empty fields and updates `DIALOG_CANCELED()`. A successful answer clears the flag; a console-state query leaves it unchanged. The receiving command owns its cancellation policy, including `CANCEL_HALT` and the normal halt/cleanup path where supported. No queue adapter injects an exit merely because a dialog was canceled. Numeric answer zero, such as No, remains a valid result; `None` represents a canceled button. See [CANCEL_HALT](../reference/metacommands.md#cancel_halt) and each prompt's reference for assignment/clearing rules.
|
|
354
|
+
|
|
355
|
+
Persistent-console Quit uses an `interrupted` response for pending or future dialog requests. The checked receiver raises `KeyboardInterrupt` on the worker, allowing the executor's interrupt and rollback handling to run. This shutdown request follows the console lifecycle below.
|
|
356
|
+
|
|
357
|
+
### Console lifecycle and shutdown
|
|
358
|
+
|
|
359
|
+
Native Tk's `ConsoleWindow` owns its output widget and window. `TkinterBackend.console_on()` uses the runtime configuration's character/line dimensions; `console_resize()` updates the live widget and requested window geometry. Size choices survive OFF/ON and manual closure, and resizing preserves position and hidden state. The base sizing hook is a no-op for terminal backends. See [CONSOLE](../reference/metacommands.md#console) for the backend-specific controls.
|
|
360
|
+
|
|
361
|
+
The persistent Textual console polls for actual script-thread termination. Quit requests interruption once and stops admitting dialogs. Pending dialog waiters receive the interruption response; otherwise the app requests a plain `SystemExit` on the script worker. Repeated Quit leaves cleanup uninterrupted. A blocked driver call must return to Python before the interruption can be delivered, so there is no forced shutdown deadline.
|
|
362
|
+
|
|
363
|
+
`ConsoleApp` keeps its event loop available while the worker unwinds and emits cleanup output, including during unexpected app unmount. The CLI's worker wrapper runs the existing interrupt rollback backstop in the same `RuntimeContext`; the interrupt backstop leaves autocommit-off transactions to the script. Final CLI pool cleanup also runs on the worker before it stops, just as process cleanup closes connections in the synchronous CLI. After the app returns, `wait_for_script()` joins the worker before output redirection is reset. An interrupted console run logs interruption and exits 130. Normal completion and a script's requested HALT status retain their usual outcomes; closing a console kept open after completion is normal.
|
|
364
|
+
|
|
365
|
+
Script execution and the final file-output flush finish on the worker before its pool-closing `finally`. Raw script errors and flush failures are finalized there with `exit_now()`: deferred `ON ERROR_HALT` scripts retain their connections and run after batch rollback, while the UI loop can still service requests. Deliberate control flow, configuration errors and interrupts keep their separate handling.
|
|
366
|
+
|
|
367
|
+
Completion is detected by a UI timer, so worker completion cannot schedule a callback onto an already closed event loop. The request queue replies at most once when a modal response and shutdown compete. See [interface configuration](../reference/configuration.md) for the user-facing shutdown policy. `tests/gui/test_prompt_outcomes.py` and `tests/gui/test_console_shutdown.py` exercise response ownership, interrupt cleanup and shutdown ordering; native sizing is covered in `tests/gui/test_console_sizing.py`.
|
|
329
368
|
|
|
330
369
|
______________________________________________________________________
|
|
331
370
|
|
|
@@ -337,7 +376,7 @@ ______________________________________________________________________
|
|
|
337
376
|
import execsql.state as _state
|
|
338
377
|
```
|
|
339
378
|
|
|
340
|
-
This import pattern (always as `_state`, always accessed inside function/method bodies) avoids circular imports at load time.
|
|
379
|
+
This import pattern (always as `_state`, always accessed inside function/method bodies) avoids circular imports at load time. Runtime state is accessed through a `threading.local()` proxy. Each thread receives its own default `RuntimeContext`; `active_context(ctx)` can explicitly bind an existing context, as the persistent Textual script worker does. GUI backend selection keeps the separate module-global reference described above. The module provides two management functions:
|
|
341
380
|
|
|
342
381
|
- **`initialize(config, dispatch_table, conditional_table)`** -- Called once from `_run()` to create runtime singletons (`DatabasePool`, `CounterVars`, `BatchLevels`, etc.).
|
|
343
382
|
- **`reset()`** -- Tears down all state for test isolation.
|
|
@@ -236,7 +236,7 @@ See the individual references for [config](../reference/cli/config.md), [list](.
|
|
|
236
236
|
|
|
237
237
|
`-w`, `--no-passwd`
|
|
238
238
|
|
|
239
|
-
: Skip the password prompt when a
|
|
239
|
+
: Skip the password prompt when a username is specified. Server databases and ODBC DSNs retain that username; the driver can use its configured password-free authentication or stored credentials. To use the driver's default identity, leave the username unspecified. The same identity rule applies to `password_prompt=No` and `CONNECT ... NEED_PWD=FALSE`.
|
|
240
240
|
|
|
241
241
|
`-n`, `--new-db`
|
|
242
242
|
|
|
@@ -272,7 +272,7 @@ select id,name,created_at from users where active = true order by name;
|
|
|
272
272
|
```yaml
|
|
273
273
|
repos:
|
|
274
274
|
- repo: https://github.com/geocoug/execsql
|
|
275
|
-
rev: v2.
|
|
275
|
+
rev: v2.40.0
|
|
276
276
|
hooks:
|
|
277
277
|
- id: execsql-format
|
|
278
278
|
- id: execsql-lint # optional: fail the commit on lint errors
|