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