diff --git a/Command.php b/Command.php index b51763c..55af090 100644 --- a/Command.php +++ b/Command.php @@ -116,8 +116,9 @@ class Command extends Component $prepare->execute($this->params); + var_dump($method); $result = $method == 'rowCount' ? $prepare->rowCount() : $prepare->{$method}(PDO::FETCH_ASSOC); -// $prepare->closeCursor(); + $prepare->closeCursor(); $this->connection->println($startTime, microtime(true), $this->sql, $this->params);