Commit 0019631
Pin non_native_boolean_check_constraint and update_returning_multifrom
The dqlite dialect already pins supports_native_boolean,
supports_native_decimal, the insert/update/delete RETURNING flags,
supports_multivalues_insert, supported_isolation_levels, and
supports_statement_cache against upstream drift. Two adjacent flags
inherit silently from SQLiteDialect:
- non_native_boolean_check_constraint. SQLAlchemy's Boolean type
compiler gates this behind not supports_native_boolean, so it is
functionally inert today. Pin False so the pair stays coherent if
a future SQLAlchemy release decouples the two.
- update_returning_multifrom. Available on SQLite >= 3.33, which
dqlite is. Pin True alongside the existing RETURNING trio so the
same upstream-drift argument applies.
Both pins use the local-declaration pattern established by the
RETURNING pins (asserting the flag lives in DqliteDialect.__dict__,
not just inherited), so silent re-inheritance would fail the pin
tests.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8f141c9 commit 0019631
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
| 112 | + | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| 116 | + | |
108 | 117 | | |
109 | 118 | | |
110 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
73 | 88 | | |
74 | 89 | | |
75 | 90 | | |
| |||
0 commit comments