Some MySQL verions behave strangely when LAST_INSERT_ID is used twice in the...
Some MySQL verions behave strangely when LAST_INSERT_ID is used twice in the same request. As the query is in a BEGIN..COMMIT block, fetch the inserted value instead of using LAST_INSERT_ID trick. Patch proposed by Yoshinori & applied verbatim. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13789 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment