8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00

Fix assertion creating database with trace enabled.

This commit is contained in:
Adriano dos Santos Fernandes 2022-02-15 08:22:42 -03:00
parent 260308264f
commit cace576208

View File

@ -231,7 +231,7 @@ ITraceParams* TraceSQLStatementImpl::getInputs()
void TraceSQLStatementImpl::DSQLParamsImpl::fillParams()
{
if (m_descs.getCount() || !m_params)
if (m_descs.getCount() || !m_params || m_params->getCount() == 0)
return;
if (!m_stmt->isDml())