Subject How to properly close FB embedded database?
Author Alec Swan
We have a test suite with hundreds of tests some of which started to fail
when we switched to Firebird. Here is the exception being thrown:
"internal gds software consistency check (cannot start thread)"

Each test uses its own database by creating a copy of the template database
file and opening an embedded connection to the copy. I found this
link<>and am suspecting that
our tests are not properly closing databases.

What is the right way to close the database and clear all its caches when
the test completes?



[Non-text portions of this message have been removed]