LP#1366964 Update libdbi connection test error parsing user/berick/lp1366964-libdbi-error-handling
authorBill Erickson <berickxx@gmail.com>
Tue, 21 Oct 2014 02:55:20 +0000 (22:55 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 21 Oct 2014 03:35:18 +0000 (23:35 -0400)
commit26a3cd13c32ac48991ecc4b9442cd660cb5a1414
tree78a8a3de59c94ad6d1a7ffa72ab1b90f234c6eef
parenta7c326727ab6bdda2c9899ceba7ddb6fc84ffd58
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>
Open-ILS/src/c-apps/oils_sql.c
Open-ILS/src/perlmods/live_t/08-lp1366964-libdbi-error.t [new file with mode: 0644]