]> git.evergreen-ils.org Git - Evergreen.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:08:33 +0000 (10:08 -0500)
commitca4e28a2d1d8d9cabc28b68e943806d4527114ca
tree4522ca8b83ca9455a9ed6cbac84b69c6cea7c8d8
parent3249d64a7c79ca30cd58dc85dfa6aa5878306683
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]