Re: INSERT AfTER LEFT JOIN creates duplicate records
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.
Subject
Views
Written By
Posted
1873
September 19, 2016 03:49PM
923
September 20, 2016 10:48AM
929
September 20, 2016 01:00PM
Re: INSERT AfTER LEFT JOIN creates duplicate records
898
September 20, 2016 02:08PM
856
September 21, 2016 10:44AM
825
September 21, 2016 10:51AM
897
October 03, 2016 11:18PM
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.