You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(A) findings — addressed in code:
- Doc comments on `LikeExpr.NeedsEscape` and `EscapeLikeMetaChars` updated
to flag dialect-aware render-time escaping (#1)
- New `MaybeDoubleBackslashes` helper: prefix/suffix in non-folded LIKE
concat path now defensively backslash-doubled for MySQL+default (#7)
- Inline comments at both literal-pattern emission sites explain the
single-quote-first / backslash-double-second order (#9)
- `SqlDialectConfig.ParseAttribute` returns `(Config, Schema)` tuple in
a single pass; `ContextParser` consumes the tuple (#28)
- Code comment in `ParseAttribute` documents the SQLite default for
missing `Dialect=` as intentional pre-existing behavior (#11)
- All 11 method bodies in `SqlAssembler.cs` now uniformly use the
`var dialect = config.Dialect;` shadow at entry (#25)
- Extracted `IsDockerUnavailable`, `TableExistsAsync`, `ExecAsync` from
the two MySQL test containers into shared `TestContainerHelpers.cs` (#26)
- Added `<remarks>` footgun warning to the back-compat
`Render(SqlDialect)` overload — silently defaults the carrier flag (#33)
- Updated `MySqlBackslashEscapes` XML doc to make non-MySQL no-op
behavior explicit; future QRY rule noted as follow-up (#37)
(B) findings — added gap-filling tests:
- `Contains_ParameterBound_BackslashEscapesTrue_NoDoubling` proves the
parameter-bound LIKE path bypasses doubling (#20)
- `Where_Contains_LiteralBackslash_DefaultMode_ReturnsMatch` integration
test exercises the seeded-but-unqueried `"a\b"` row through the full
pipeline against live default-mode MySQL (#21)
- `Where_Contains_AnsiForm_NoBackslashEscapesSession_ReturnsMatch`
integration test exercises the opt-out roundtrip with new
`MyAnsiSessionDb` context against default-mode container with
session-level `SET sql_mode = ...,NO_BACKSLASH_ESCAPES` (#2)
All 3,384 tests pass.
0 commit comments