8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 08:40:39 +01:00
This commit is contained in:
Adriano dos Santos Fernandes 2022-04-06 14:47:40 -03:00
parent 8bd4a7abca
commit 63f54f109f

View File

@ -304,14 +304,14 @@ Statement* Statement::makeStatement(thread_db* tdbb, CompilerScratch* csb, bool
// Build the statement and the final request block.
const auto pool = tdbb->getDefaultPool();
if (exprDesc)
{
fb_assert(csb->csb_node->getKind() == DmlNode::KIND_VALUE);
static_cast<ValueExprNode*>(csb->csb_node)->getDesc(tdbb, csb, exprDesc);
}
const auto pool = tdbb->getDefaultPool();
statement = FB_NEW_POOL(*pool) Statement(tdbb, pool, csb);
tdbb->setRequest(old_request);