Fix [ 1960094 ] db process excuted twice
This commit is contained in:
parent
c7e00408b0
commit
e1cd15de3f
|
@ -400,7 +400,7 @@ public class ProcessCtl implements Runnable
|
||||||
}
|
}
|
||||||
|
|
||||||
// No Optional SQL procedure ... done
|
// No Optional SQL procedure ... done
|
||||||
if (!IsReport && ProcedureName.length() == 0)
|
if (!IsReport && ProcedureName.length() == 0)
|
||||||
{
|
{
|
||||||
unlock ();
|
unlock ();
|
||||||
return;
|
return;
|
||||||
|
@ -417,7 +417,7 @@ public class ProcessCtl implements Runnable
|
||||||
* Report submission
|
* Report submission
|
||||||
*/
|
*/
|
||||||
// Optional Pre-Report Process
|
// Optional Pre-Report Process
|
||||||
if (ProcedureName.length() > 0)
|
if (IsReport && ProcedureName.length() > 0)
|
||||||
{
|
{
|
||||||
m_pi.setReportingProcess(true);
|
m_pi.setReportingProcess(true);
|
||||||
if (!startDBProcess(ProcedureName))
|
if (!startDBProcess(ProcedureName))
|
||||||
|
|
Loading…
Reference in New Issue