Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
When a query is executed - it's not dirty any more
  • Loading branch information
AD7six committed Oct 21, 2015
1 parent 28978c2 commit b561f5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Database/Query.php
Expand Up @@ -172,7 +172,9 @@ public function connection($connection = null)
public function execute()
{
$statement = $this->_connection->run($this);
return $this->_iterator = $this->_decorateStatement($statement);
$this->_iterator = $this->_decorateStatement($statement);
$this->_dirty = false;
return $this->_iterator;
}

/**
Expand Down

0 comments on commit b561f5f

Please sign in to comment.