MySQL Forums
Forum List  »  InnoDB

Re: INSERT AfTER LEFT JOIN creates duplicate records
Posted by: Peter Brawley
Date: September 20, 2016 02:08PM

What is whid in the insert value list supposed to refer to? The sotran table has no such column. The so_detail table, to which you're joining, has a wh_id column.

The auto-inc IDs of the dupe pair that you show are consecutive. Are all such dupe pairs consecutive? If so, you're seeing the engine occasionally fail to find what it's just inserted. What version of MySQL is this?

IAC I'm moving this to the InnoDB forum. seems a better match.



Edited 2 time(s). Last edit at 09/21/2016 10:48AM by Peter Brawley.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: INSERT AfTER LEFT JOIN creates duplicate records
377
September 20, 2016 02:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.