[wp-trac] [WordPress Trac] #32352: Kill execution at unrecoverable database insert fails
WordPress Trac
noreply at wordpress.org
Wed Jul 22 04:59:30 UTC 2015
#32352: Kill execution at unrecoverable database insert fails
--------------------------+----------------------
Reporter: chriscct7 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Database | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by chriscct7):
* status: new => closed
* severity: major => normal
* priority: high => normal
* milestone: Awaiting Review =>
* keywords: dev-feedback needs-patch early =>
* resolution: => invalid
Comment:
Replying to [comment:6 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 Y which results in lost data".
>
Fair enough
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32352#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list