mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-05-24 00:13:29 +00:00
Removed the execute method from MSSQL. It is provided by DboDatasource now.
This commit is contained in:
parent
4e8b863910
commit
244bc1369a
1 changed files with 0 additions and 12 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue