]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP#1366964 Update libdbi connection test error parsing
authorBill Erickson <berickxx@gmail.com>
Tue, 21 Oct 2014 02:55:20 +0000 (22:55 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 5 Nov 2014 15:12:08 +0000 (10:12 -0500)
commitde94a7f54a89b4c06a66cfd5ed6ab27060979fe6
tree7342009dccecf0eec5a519f71ef1e6ae5ffecc64
parentff1bf76459802e1f8c4795449bba463a0b662e85
LP#1366964 Update libdbi connection test error parsing

Modern version of libdbi return a slightly different error message for
queries which fail mid-transaction, causing an C-based DB backends to
exit abruptly unnecessarily.  Update the error message test to include
the new format.

Includes Perl live test for confirming functionality.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/c-apps/oils_sql.c
Open-ILS/src/perlmods/live_t/08-lp1366964-libdbi-error.t [new file with mode: 0644]