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
Date 2022-01-03.21:14:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The query loop in _pysqlite_query_execute() is run only once for ordinary execute()'s, but multiple times for executemany(). We use the 'multiple' variable to differ between the two execute methods; for execute(), multiple is false, for executemany(), multiple is true. At the end of the loop, the 'lastrowid' connection attribute is set, if multiple is false. We can safely move this part out of the loop; it is irrelevant for executemany(), and it will only be run once for execute().
Date User Action Args
2022-01-03 21:14:27erlendaaslandsetrecipients: + erlendaasland
2022-01-03 21:14:27erlendaaslandsetmessageid: <>
2022-01-03 21:14:27erlendaaslandlinkissue46249 messages
2022-01-03 21:14:27erlendaaslandcreate