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 r.david.murray
Recipients jim_minter, r.david.murray
Date 2013-01-04.17:55:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357322148.2.0.722759508132.issue16864@psf.upfronthosting.co.za>
In-reply-to
Content
Considering that sqlite's 'replace' is a synonym for 'insert or replace', I think the logic error is actually in the detect_statement_type function.  Since actions are conditionally taken on the REPLACE statement type in the code, including at least one that adjusts the lastrowid, I don't think the fix for lastrowid is as simple as just always setting it.  But I'm not that familiar with sqlite internals, so perhaps someone with more knowledge will weigh in.
History
Date User Action Args
2013-01-04 17:55:48r.david.murraysetrecipients: + r.david.murray, jim_minter
2013-01-04 17:55:48r.david.murraysetmessageid: <1357322148.2.0.722759508132.issue16864@psf.upfronthosting.co.za>
2013-01-04 17:55:48r.david.murraylinkissue16864 messages
2013-01-04 17:55:47r.david.murraycreate