MySQL Forums :: InnoDB :: INSERT AfTER LEFT JOIN creates duplicate records


Advanced Search

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
INSERT AfTER LEFT JOIN creates duplicate records 583 Brad Liu 09/19/2016 03:49PM
Re: INSERT AfTER LEFT JOIN creates duplicate records 312 Peter Brawley 09/20/2016 10:48AM
Re: INSERT AfTER LEFT JOIN creates duplicate records 317 Brad Liu 09/20/2016 01:00PM
Re: INSERT AfTER LEFT JOIN creates duplicate records 313 Peter Brawley 09/20/2016 02:08PM
Re: INSERT AfTER LEFT JOIN creates duplicate records 302 Brad Liu 09/21/2016 10:44AM
Re: INSERT AfTER LEFT JOIN creates duplicate records 291 Peter Brawley 09/21/2016 10:51AM
Re: INSERT AfTER LEFT JOIN creates duplicate records 265 Rick James 10/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.