mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
修正Connection类的batchQuery
This commit is contained in:
@@ -647,9 +647,9 @@ abstract class Connection
|
||||
}
|
||||
// 提交事务
|
||||
$this->commit();
|
||||
} catch (\PDOException $e) {
|
||||
} catch (\Exception $e) {
|
||||
$this->rollback();
|
||||
return false;
|
||||
throw $e;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user