Still pass in SqlServer even when writing to file since we need prefix

This commit is contained in:
Dennis Felsing 2019-12-16 10:29:34 +01:00
parent 4a83a42f14
commit 6e294d938b

View file

@ -113,7 +113,7 @@ void CSqlScore::ExecSqlFunc(void *pUser)
// handle failures
// eg write inserts to a file and print a nice error message
if (!Success)
pData->m_pFuncPtr(0, pData->m_pSqlData, true);
pData->m_pFuncPtr(connector.SqlServer(), pData->m_pSqlData, true);
} catch (...) {
dbg_msg("sql", "Unexpected exception caught");
}