[sqlite] UNIQUE Constraint failure better diagnostics

2016-08-16 Thread Василий Кудрявцев
Hi! I would like to propose an enhancement to SQLite diagnostics in case of unique constraint failure. Currently the message does not contain the name of constraint in question, only columns. For example: sqlite> CREATE TABLE c_test (c0 INTEGER, c1 INTEGER, c2 INTEGER, CONSTRAINT U_X1 UNIQ

[sqlite] UNIQUE Constraint failure better diagnostics

2016-08-16 Thread Василий Кудрявцев
Hi! I would like to propose an enhancement to SQLite diagnostics in case of unique constraint failure. Currently the message does not contain the name of constraint in question, only columns. For example: sqlite> CREATE TABLE c_test (c0 INTEGER, c1 INTEGER, c2 INTEGER, CONSTRAINT U_X1 UNIQ