mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 09:26:27 -06:00
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:
parent
b2e7182d0c
commit
b38dbe7e6b
@ -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 ))
|
||||
|
Loading…
Reference in New Issue
Block a user