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 berker.peksag, erlendaasland, serhiy.storchaka
Date 2021-02-18.11:22:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613647354.29.0.206061609144.issue43251@roundup.psfhosted.org>
In-reply-to
Content
AFAICS, the docs for sqlite3_column_name() says that if it returns NULL, we are out of memory, thus we should call PyErr_NoMemory() and bail.

FYI, there are the calls to sqlite3_column_name() in Modules/_sqlite//cursor.c

Ref:
- http://sqlite.org/c3ref/column_name.html
- http://sqlite.org/c3ref/free.html
History
Date User Action Args
2021-02-18 11:22:34erlendaaslandsetrecipients: + erlendaasland, berker.peksag, serhiy.storchaka
2021-02-18 11:22:34erlendaaslandsetmessageid: <1613647354.29.0.206061609144.issue43251@roundup.psfhosted.org>
2021-02-18 11:22:34erlendaaslandlinkissue43251 messages
2021-02-18 11:22:34erlendaaslandcreate