Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: protegrity/sql-glot-rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.6
Choose a base ref
...
head repository: protegrity/sql-glot-rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.7
Choose a head ref
  • 3 commits
  • 6 files changed
  • 1 contributor

Commits on Jun 29, 2026

  1. fix(generator): wrap bare boolean in T-SQL condition position as = 1 …

    …(CR-018)
    
    SQL Server has no native boolean type, so a bare boolean expression in a
    search-condition position (WHERE/HAVING/QUALIFY, JOIN ON, searched CASE
    WHEN, UPDATE/DELETE WHERE, MERGE AND, and AND/OR/NOT operands) is rejected
    with error 4145. Add a recursive gen_condition helper that, for the T-SQL
    family only, wraps a bare boolean as '<expr> = 1', lowers bare TRUE/FALSE
    to '1 = 1'/'1 = 0', recurses through logical connectives, and leaves
    existing predicates untouched. Simple CASE (CASE <operand> WHEN <value>)
    WHEN values are not conditions and are left alone. Non-T-SQL output is
    unchanged.
    yigalrozenberg committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    a7514df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be007cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bdf2be View commit details
    Browse the repository at this point in the history
Loading