From 1cf8c14d6ec733cf1b1b7c7385c27ab89b0639bc Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Fri, 13 May 2005 13:52:17 +0000 Subject: [PATCH] fixed bug in my resent commit - thanks to Claudio --- src/jrd/pcmet.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/pcmet.epp b/src/jrd/pcmet.epp index a90a12d305..fe8396bd96 100644 --- a/src/jrd/pcmet.epp +++ b/src/jrd/pcmet.epp @@ -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; }