8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 04:03:03 +01:00

fixed bug in my resent commit - thanks to Claudio

This commit is contained in:
alexpeshkoff 2005-05-13 13:52:17 +00:00
parent f01edbf796
commit 1cf8c14d6e

View File

@ -112,7 +112,7 @@ bool PCMET_expression_index(thread_db* tdbb, SSHORT phase, DeferredWork* work,
if (!relation)
{
relation = MET_relation(tdbb, REL.RDB$RELATION_ID);
if (relation->rel_name.length())
if (relation->rel_name.length() == 0)
{
relation->rel_name = REL.RDB$RELATION_NAME;
}