Commit de16cb5
Cycle 21: tolerate non-numeric SQLite version suffixes
'3.46.0-alpha' or '3.46.0rc1' used to raise ValueError inside
_get_server_version_info's int() call, which was silently caught by
the OperationalError/DqliteConnectionError except and triggered the
(3, 0, 0) fallback. That masked a real parse issue and pinned the
dialect to ancient-version behavior whenever the server shipped a
pre-release build.
Now we strip trailing non-digits per component and parse the numeric
prefix. 3.46.0-alpha -> (3, 46, 0).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e647df7 commit de16cb5
2 files changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
228 | 233 | | |
| 234 | + | |
| 235 | + | |
229 | 236 | | |
230 | 237 | | |
231 | 238 | | |
232 | 239 | | |
233 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
234 | 248 | | |
235 | 249 | | |
236 | 250 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments