HomePhabricator

bug35572 Blocks appear to succeed w/DB error
632fdd375998Unpublished

Authored by saper.

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

bug35572 Blocks appear to succeed w/DB error

Bug 35572 - Blocks appear to succeed even if query fails due to wrong DB
structure

When emulating INSERT IGNORE ignore only SQL Error Code 23505

  • unique key violation

http://www.postgresql.org/docs/9.1/interactive/errcodes-appendix.html

All other error codes (missing column, syntex error, whatever)
should unconditionally abort the transaction and show internal
error to the user.

Patchset 2: Fixed whitespace.
Patchset 3: More whitespace. And ()'s.
Patchset 4: Yet more whitespace.
Patchset 5: rebase & fix conflict in release-notes

Change-Id: Ic32bff9fff46bce124273156d224fa01b8adc008

Details

Committed
brionApr 10 2012, 7:59 PM
Parents
rMW0a792a1dcba2: Merge "Fix PostgreSQL updater to produce 1.19 schema"
Branches
Unknown
Tags
Unknown
References
refs/changes/77/3977/5
ChangeId
Ic32bff9fff46bce124273156d224fa01b8adc008