Removed the execute method from MSSQL. It is provided by DboDatasource now.

This commit is contained in:
Juan Basso 2011-04-27 20:42:47 -04:00
parent 4e8b863910
commit 244bc1369a

View file

@ -146,18 +146,6 @@ class Mssql extends DboSource {
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.
*