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<http://support.codegear.com/article/35856>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?

Thanks,

Alec


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