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:
parent
011546154c
commit
5b9946c199
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user