Added fdb_select_api_version() and fdb_get_error()