mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 08:40:39 +01:00
Misc.
This commit is contained in:
parent
8bd4a7abca
commit
63f54f109f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user