#126 AdoDB Delete error not detected

open
nobody
None
5
2012-11-16
2012-11-16
Anonymous
No

DB: PostgreSQL 8.4
Adodb: V5.18 and earlier
PHP version: 5.4.4 Linux and 5.4.4 Windows
Bug: reproduceable

When I try to delete a row from table A what violates foreign key contraint on table B, adodb report delete successfull, but postgreSQL report: ERROR: update or delete on table "tableA" violates foreign key constraint "contraint_name_fk" on table "tableB".

In transactions, $conn->HasFailesTrans() reports no error occured.

Discussion