Home  >  Article  >  Backend Development  >  mysql - ThinkPHP 事务嵌套解决方案

mysql - ThinkPHP 事务嵌套解决方案

WBOY
WBOYOriginal
2016-06-06 20:33:312259browse

在接收修改一个ThinkPHP项目时候遇到一个大问题:事务嵌套问题. 请问大家是如何解决的?数据库是MySQL

回复内容:

在接收修改一个ThinkPHP项目时候遇到一个大问题:事务嵌套问题. 请问大家是如何解决的?数据库是MySQL

开启事务的时候使用单例,检查事务是否存在

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn