[wp-trac] [WordPress Trac] #32352: Kill execution at unrecoverable database insert fails
WordPress Trac
noreply at wordpress.org
Mon Jul 20 06:13:39 UTC 2015
#32352: Kill execution at unrecoverable database insert fails
--------------------------------------------+------------------------------
Reporter: chriscct7 | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Awaiting Review
Component: Database | Version:
Severity: major | Resolution:
Keywords: dev-feedback needs-patch early | Focuses:
--------------------------------------------+------------------------------
Comment (by dd32):
> If a failure in table insertion occurs, on a core table, that could
leave sites completely unusable.
Very few inserts exist which would result in that, and certainly very few
in the upgrade routines. The proposal here doesn't actually add much, or
any benefit to a user who ran into any such failure.
I think specific tickets should be opened of the style "If x insert fails,
WordPress attempts using `false` as the ID here.." or "WordPress assumes
query X always succeeds, however when it doesn't, it proceeds to perform X
which results in lost data".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32352#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list