Skip to content

Commit bebf3b7

Browse files
committed
Fixed UDF call
1 parent 532b6f8 commit bebf3b7

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

src/jrd/Routine.cpp

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -235,19 +235,10 @@ void Routine::parseMessages(thread_db* tdbb, CompilerScratch* csb, BlrReader blr
235235

236236
bool Routine::hash(thread_db* tdbb, Firebird::sha512& digest)
237237
{
238-
if (inputFields.hasData())
239-
{
240-
if (!inputFormat)
241-
return false;
238+
if (inputFormat)
242239
inputFormat->hash(digest);
243-
}
244-
245-
if (outputFields.hasData())
246-
{
247-
if (!outputFormat)
248-
return false;
240+
if (outputFormat)
249241
outputFormat->hash(digest);
250-
}
251242

252243
return true;
253244
}

0 commit comments

Comments
 (0)