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

Fixed parsing DPB bindings

This commit is contained in:
AlexPeshkoff 2019-11-13 21:23:59 +03:00 committed by Alexander Peshkov
parent 011546154c
commit 5b9946c199

View File

@ -1417,6 +1417,9 @@ static dsql_req* prepareStatement(thread_db* tdbb, dsql_dbb* database, jrd_tra*
scratchPool = database->createPool();
if (!transaction) // Useful for session management statements
transaction = database->dbb_attachment->getSysTransaction();
DsqlCompilerScratch* scratch = FB_NEW_POOL(*scratchPool) DsqlCompilerScratch(*scratchPool, database,
transaction, statement);
scratch->clientDialect = clientDialect;