8
0
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:
robocop 2005-01-26 04:44:53 +00:00
parent eab3b979b3
commit babcad892a

View File

@ -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++)