Skip to content

Commit

Permalink
Backported fix for CORE-2271: gfix reports db ownership error way too…
Browse files Browse the repository at this point in the history
… late
  • Loading branch information
AlexPeshkoff committed Jan 11, 2009
1 parent 4c4cfdf commit a3ee9e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jrd/jrd.cpp
Expand Up @@ -1179,6 +1179,7 @@ ISC_STATUS GDS_ATTACH_DATABASE(ISC_STATUS* user_status,

if (options.dpb_verify)
{
validateAccess(attachment);
if (!CCH_exclusive(tdbb, LCK_PW, WAIT_PERIOD)) {
ERR_post(isc_bad_dpb_content, isc_arg_gds, isc_cant_validate, isc_arg_end);
}
Expand Down

0 comments on commit a3ee9e0

Please sign in to comment.