Skip to content

Commit

Permalink
Removed the execute method from MSSQL. It is provided by DboDatasourc…
Browse files Browse the repository at this point in the history
…e now.
  • Loading branch information
jrbasso committed May 6, 2011
1 parent 4e8b863 commit 244bc13
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/Cake/Model/Datasource/Database/Mssql.php
Expand Up @@ -146,18 +146,6 @@ public function enabled() {
return in_array('sqlsrv', PDO::getAvailableDrivers());
}

/**
* Executes given SQL statement.
*
* @param string $sql SQL statement
* @return resource Result resource identifier
*/
protected function _execute($sql) {
$result = @mssql_query($sql, $this->connection);
$this->__lastQueryHadError = ($result === false);
return $result;
}

/**
* Returns an array of sources (tables) in the database.
*
Expand Down

0 comments on commit 244bc13

Please sign in to comment.