Bug #54677 INSERT INTO ... ON FAILURE UPDATE ...

Submitted: 21 Jun 2010 18:25
Reporter: Matthew Lord Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:5.6 OS:Any
Assigned to: CPU Architecture:Any

[21 Jun 2010 18:25] Matthew Lord
Description:
It would be nice to have the following clause so that an UPDATE would still be performed even if the 
INSERT caused an error:
 INSERT INTO ... ON FAILURE UPDATE ...

How to repeat:
n/a

Suggested fix:
n/a
[10 Dec 2010 7:44] Terry Nycum
Where the failure could arise from something other than a duplicate unique key? i.e. Are you thinking of it as a generalization of the current INSERT INTO ... ON DUPLICATE KEY UPDATE ... ?

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.