Refactored ext/pdo_firebird (didn't do test)