Opened 5 years ago
Closed 5 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 , 5 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Version 0, edited 5 years ago by (next)
comment:3 by , 5 years ago
Has patch: | set |
---|
comment:4 by , 5 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 function using global or connection state (e.g. timezone).