Skip to content

Commit

Permalink
Remove re-execution of buffered queries.
Browse files Browse the repository at this point in the history
This solves incorrect results in SQLServer, as re-executing the query
would drop text columns for reasons I don't really understand. As
a side-effect loading associated data should be faster.
  • Loading branch information
markstory committed May 29, 2018
1 parent 043df24 commit 2797730
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Database/Statement/BufferedStatement.php
Expand Up @@ -302,9 +302,6 @@ public function current()
*/
public function rewind()
{
if (!$this->_hasExecuted) {
$this->execute();
}
$this->index = 0;
}

Expand Down

0 comments on commit 2797730

Please sign in to comment.