Author Alex.LordThorsen
Recipients Alex.LordThorsen, jim_minter, r.david.murray
Date 2015-05-10.21:16:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431292618.69.0.9172957477.issue16864@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for Alex_gayner and lifeless. They pointed out the sqlite3_last_row_id is part of the sqlite3 module itself (not cpython).

https://www.sqlite.org/c3ref/last_insert_rowid.html

According the documentation we can expect that if a constraint stops an insertion then the lostrowid is not modified. As such the changes required to add full INSERT OR CONDITION support for last row id is unit tests for each statement and changing the conditional to recognize all insert cases.
History
Date User Action Args
2015-05-10 21:16:58Alex.LordThorsensetrecipients: + Alex.LordThorsen, r.david.murray, jim_minter
2015-05-10 21:16:58Alex.LordThorsensetmessageid: <1431292618.69.0.9172957477.issue16864@psf.upfronthosting.co.za>
2015-05-10 21:16:58Alex.LordThorsenlinkissue16864 messages
2015-05-10 21:16:58Alex.LordThorsencreate