Fix MS SQL Driver to not show warnings for version fetching on connection and to retrieve the next set of results properly
This commit is contained in:
parent
4cfe6263d9
commit
12aaf506b8
|
@ -164,7 +164,7 @@ if (isset($_GET["mssql"])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function query($query, $unbuffered = false) {
|
function query($query, $unbuffered = false) {
|
||||||
$result = mssql_query($query, $this->_link); //! $unbuffered
|
$result = @mssql_query($query, $this->_link); //! $unbuffered
|
||||||
$this->error = "";
|
$this->error = "";
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
$this->error = mssql_get_last_message();
|
$this->error = mssql_get_last_message();
|
||||||
|
@ -186,7 +186,7 @@ if (isset($_GET["mssql"])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function next_result() {
|
function next_result() {
|
||||||
return mssql_next_result($this->_result);
|
return mssql_next_result($this->_result->_result);
|
||||||
}
|
}
|
||||||
|
|
||||||
function result($query, $field = 0) {
|
function result($query, $field = 0) {
|
||||||
|
|
Loading…
Reference in a new issue