[issue24139] Use sqlite3 extended error codes

Aviv Palivoda report at bugs.python.org
Tue Aug 30 14:19:28 EDT 2016


Aviv Palivoda added the comment:

Attached is a patch to enable the extended error codes. This patch should be dependent on issue 16379.
Without returning the sqlite error code in the exception the extended error code does not reveal any information not currently available. As you can see in https://github.com/mackyle/sqlite/blob/ebb27fe5bd5045d924d99cdd7dec9b7064c24768/src/main.c#L1318 there are messages only for the non-extended error codes and that is what is exposed now.

----------
keywords: +patch
nosy: +palaviv
Added file: http://bugs.python.org/file44280/24139.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24139>
_______________________________________


More information about the Python-bugs-list mailing list