Fixes returned ids in multiple_insert for mysqldb (Issue 443 web.py) by nlaurens · Pull Request #447 · webpy/webpy
multiple_insert assumes the returned id is the ID of the last item in the rows. Mysql actually returns the id of the first row. Fix does not alter behaviour for other dbs. Note, that for postgres and sqllite the current behaviour is correct.
iredmail added a commit that referenced this pull request
Sep 16, 2019This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters