内核更新

This commit is contained in:
2017-02-14 09:41:34 +08:00
parent 689376a5d9
commit b355535009
43 changed files with 330 additions and 100 deletions

View File

@@ -125,7 +125,7 @@ abstract class Connection
protected $bind = [];
/**
* 构函数 读取数据库配置信息
* 构函数 读取数据库配置信息
* @access public
* @param array $config 数据库配置数组
*/
@@ -365,8 +365,8 @@ abstract class Connection
$this->bind = $bind;
}
//释放前次的查询结果
if (!empty($this->PDOStatement) && $this->PDOStatement->queryString != $sql) {
// 释放前次的查询结果
if (!empty($this->PDOStatement)) {
$this->free();
}