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 serhiy.storchaka
Recipients erlendaasland, serhiy.storchaka
Date 2021-11-08.18:47:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636397246.6.0.425566607523.issue45754@roundup.psfhosted.org>
In-reply-to
Content
In alternative 1 we control the type and the message of exception. In alternative 3 we left this to the SQLite3 engine. It is difficult to keep consistency in alternative 2, errors raised for sizes less and larger than INT_MAX can be different. I think this is a serious drawback of this alternative.

What happens if set SQLITE_LIMIT_SQL_LENGTH to 0 or negative value? Would it be interpreted as "no limit"?
History
Date User Action Args
2021-11-08 18:47:26serhiy.storchakasetrecipients: + serhiy.storchaka, erlendaasland
2021-11-08 18:47:26serhiy.storchakasetmessageid: <1636397246.6.0.425566607523.issue45754@roundup.psfhosted.org>
2021-11-08 18:47:26serhiy.storchakalinkissue45754 messages
2021-11-08 18:47:26serhiy.storchakacreate