* Fix bug #34353, do not commit transaction if time out.

This commit is contained in:
songchenxuan
2023-05-30 15:11:44 +08:00
parent 23a2936f08
commit f52bdfb360
+2
View File
@@ -403,6 +403,7 @@ class caselibModel extends model
if(dao::isError()) helper::end(js::error(dao::getError()));
$forceNotReview = $this->testcase->forceNotReview();
$this->dao->begin();
foreach($cases as $key => $caseData)
{
if(!empty($_POST['id'][$key]) and empty($_POST['insert']))
@@ -519,6 +520,7 @@ class caselibModel extends model
}
}
}
$this->dao->commit();
if($this->post->isEndPage)
{