Commit e0214e11 by 王召彬

去掉空事务

parent 5c87effe
......@@ -86,7 +86,6 @@ class CfgCenter
$name = array_shift($keyArr);
$dbConn = self::dbConnect();
$result = $dbConn->select("config", ['name','value'], ['name'=>$name]);
$dbConn->action(function($dbConn){}); // 这是执行一个空的事务,不加这一行会有连接不释放的问题
if(!isset($result[0]['value'])) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment