Opened 6 years ago
Closed 6 years ago
#31030 closed Cleanup/optimization (fixed)
register SQLite functions as deterministic on Python 3.8
| Reported by: | Sergey Fedoseev | Owned by: | Sergey Fedoseev |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | sqlite |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
On Python 3.8 deterministic parameter was added to sqlite3.Connection.create_function() , it should be used when possible to allow SQLite to perform additional optimizations.
Change History (6)
comment:1 by , 6 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:3 by , 6 years ago
| Has patch: | set |
|---|
comment:4 by , 6 years ago
| Needs documentation: | set |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
We'll want to makes to not do so for functions using global or connection state (e.g. timezone).