8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Postfix for #7951: Make it possible to handle attach errors in key holder plugin; more error handling issues

This commit is contained in:
AlexPeshkoff 2024-01-25 11:40:24 +03:00
parent f91e3337b1
commit 6d947803e2

View File

@ -8432,7 +8432,8 @@ static bool init(CheckStatusWrapper* status, ClntAuthBlock& cBlock, rem_port* po
{
FbLocalStatus statusAfterAttach;
cb->afterAttach(&statusAfterAttach, file_name.c_str(), nullptr);
check(&statusAfterAttach);
if (!fb_utils::containsErrorCode(statusAfterAttach->getErrors(), isc_interface_version_too_old))
check(&statusAfterAttach);
}
return true;