We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04770b8 commit bad17b1Copy full SHA for bad17b1
src/PDO.Iterator.class.php
@@ -7,7 +7,7 @@ class PDOIterator implements Iterator {
7
8
public function __construct(PDOStatement $pdo, $fetchMode = PDO::FETCH_ASSOC) {
9
$this->position = 0;
10
- $this->pdo = clone $pdo;
+ $this->pdo = $pdo;
11
$this->fetchMode = $fetchMode;
12
}
13
0 commit comments