Commit 950ba51
Close regexp_match in the dialect requirements
SQLAlchemy's portable ``col.regexp_match(pattern)`` operator compiles
to ``col REGEXP ?``, which SQLite dispatches to a user-defined
``regexp`` function. pysqlite installs that function via
``create_function`` on every new connection; dqlitedbapi is a network
DBAPI and has no equivalent hook — registering a server-side function
would require persisting into Raft state across all nodes, which the
dqlite protocol does not expose. The compliance suite would otherwise
exercise regexp_match and fail with ``no such function: regexp``; close
the requirement so those cases are skipped instead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3752729 commit 950ba51
2 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments