Fix wrong value in transitional DBI callback. (bug 6292)

This commit is contained in:
David Anderson
2015-01-16 00:33:29 -08:00
parent f715952128
commit 49383e7391
+3 -3
View File
@@ -334,9 +334,9 @@ public:
{
m_pDatabase->Close();
}
m_pFunction->PushCell(BAD_HANDLE);
if (m_ACM == ACM_Old)
m_pFunction->PushCell(BAD_HANDLE);
m_pFunction->PushCell(BAD_HANDLE);
m_pFunction->PushString("Driver is unloading");
m_pFunction->PushCell(m_Data);
m_pFunction->Execute(NULL);
@@ -355,9 +355,9 @@ public:
}
}
m_pFunction->PushCell(m_pDriver->GetHandle());
if (m_ACM == ACM_Old)
m_pFunction->PushCell(hndl);
m_pFunction->PushCell(m_pDriver->GetHandle());
m_pFunction->PushCell(hndl);
m_pFunction->PushString(hndl == BAD_HANDLE ? error : "");
m_pFunction->PushCell(m_Data);
m_pFunction->Execute(NULL);