Fix [ 1960094 ] db process excuted twice

This commit is contained in:
Carlos Ruiz 2008-05-16 05:26:53 +00:00
parent c7e00408b0
commit e1cd15de3f
1 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ public class ProcessCtl implements Runnable
}
// No Optional SQL procedure ... done
if (!IsReport && ProcedureName.length() == 0)
if (!IsReport && ProcedureName.length() == 0)
{
unlock ();
return;
@ -417,7 +417,7 @@ public class ProcessCtl implements Runnable
* Report submission
*/
// Optional Pre-Report Process
if (ProcedureName.length() > 0)
if (IsReport && ProcedureName.length() > 0)
{
m_pi.setReportingProcess(true);
if (!startDBProcess(ProcedureName))