Make sure that exiting conn_test_dbi_library on a failure doesn't leave the locale at "C".

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21270 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2011-09-18 17:57:38 +00:00
parent b2e7182d0c
commit b38dbe7e6b

View File

@ -3025,6 +3025,7 @@ conn_test_dbi_library( dbi_conn conn )
PWARN("Test_DBI_Library: Failed to retrieve test row into table: %s",
errmsg );
result = dbi_conn_query( conn, "DROP TABLE numtest" );
gnc_pop_locale( LC_NUMERIC );
return GNC_DBI_FAIL_SETUP;
}
while ( dbi_result_next_row( result ))