This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author erlendaasland
Recipients erlendaasland, serhiy.storchaka
Date 2021-11-08.20:02:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636401763.71.0.316651721989.issue45754@roundup.psfhosted.org>
In-reply-to
Content
I'm leaning towards alt 1. It is also easy to test all paths with that option. But I also think alt 3 is ok. It makes for easier code to maintain.

Alt 2 is, as you say, the weakest alternative.

> What happens if set SQLITE_LIMIT_SQL_LENGTH to 0 or negative value? Would it be interpreted as "no limit"?

I'm not sure about 0; I'll try to find out.

If you supply -1, you are querying the limit category, not setting it.
History
Date User Action Args
2021-11-08 20:02:43erlendaaslandsetrecipients: + erlendaasland, serhiy.storchaka
2021-11-08 20:02:43erlendaaslandsetmessageid: <1636401763.71.0.316651721989.issue45754@roundup.psfhosted.org>
2021-11-08 20:02:43erlendaaslandlinkissue45754 messages
2021-11-08 20:02:43erlendaaslandcreate