Uh oh!
There was an error while loading. Please reload this page.
bpo-45243: Add support for setting/getting sqlite3 connection limits - #28463
Conversation
Thinking about this, I wonder if connection limits are better implemented as attributes: importsqlite3cx=sqlite3.connect(":memory:")
lim=cx.SQLITE_LIMIT_LENGTHcx.SQLITE_LIMIT_LENGTH=100# instead oflim=cx.getlimit(sqlite3.SQLITE_LIMIT_LENGTH)
cx.setlimit(sqlite3.SQLITE_LIMIT_LENGTH, 100)I added GH-28790 as an alternative implementation. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Use 'category' for limit category - Use 'limit' for the new limit
erlend-aasland
commented
Oct 8, 2021
@serhiy-storchaka I changed the argument spec:
I believe this is clearer and more aligned with the SQLite documentation. |
erlend-aasland
commented
Oct 8, 2021
PTAL, @serhiy-storchaka. |
erlend-aasland
commented
Oct 29, 2021
@serhiy-storchaka I believe all comments have been resolved. Would you like to take another look at this PR? |
erlend-aasland
commented
Nov 1, 2021
@pablogsal would you mind taking a look at this? I believe I've addressed all of Serhiy's comments. |
- Blob from python/cpython#30680 (and anticipating that python/cpython#91550 will be merged) - Aggregate window functions from python/cpython#20903 - Serialize/deserialize from python/cpython#26728 - Limit setting from python/cpython#28463
- Blob from python/cpython#30680 (and anticipating that python/cpython#91550 will be merged) - Aggregate window functions from python/cpython#20903 - Serialize/deserialize from python/cpython#26728 - Limit setting from python/cpython#28463
https://bugs.python.org/issue45243