In Firebird 3 and later API: the status vector is now a thread var
commit bug fix
Release Candidate 1