mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Solve metadata bug with MET_lookup_relation not finding the already loaded relation and hence not locking rel_existence_lock when required.
This commit is contained in:
parent
eab3b979b3
commit
babcad892a
@ -2129,7 +2129,7 @@ jrd_rel* MET_lookup_relation(thread_db* tdbb, const char* name)
|
||||
|
||||
vec* relations = dbb->dbb_relations;
|
||||
jrd_rel* check_relation = NULL;
|
||||
const UCHAR length = strlen(name);
|
||||
const UCHAR length = fb_utils::name_length(name);
|
||||
|
||||
vec::iterator ptr = relations->begin();
|
||||
for (const vec::const_iterator end = relations->end(); ptr < end; ptr++)
|
||||
|
Loading…
Reference in New Issue
Block a user