mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 13:23:02 +01:00
Backported recent Vlad's bugfix.
This commit is contained in:
parent
10aa0ae917
commit
c5edc55b7c
@ -403,7 +403,7 @@ Statement* Connection::createStatement(const string& sql)
|
||||
}
|
||||
}
|
||||
|
||||
if (m_freeStatements)
|
||||
if (m_free_stmts >= MAX_CACHED_STMTS)
|
||||
{
|
||||
Statement* stmt = m_freeStatements;
|
||||
m_freeStatements = stmt->m_nextFree;
|
||||
|
Loading…
Reference in New Issue
Block a user