修正事务方法

This commit is contained in:
thinkphp
2016-05-26 10:45:31 +08:00
parent 4b743713a7
commit 4c456e3b4e

View File

@@ -521,7 +521,8 @@ abstract class Connection
$item[] = $result; $item[] = $result;
} }
} while ($this->PDOStatement->nextRowset()); } while ($this->PDOStatement->nextRowset());
return $result; $this->numRows = count($item);
return $item;
} }
/** /**