BUG 4759 fixing sql server
when query is a update command, should return false in function next()
This commit is contained in:
@@ -108,6 +108,9 @@ class MSSQLResultSet extends ResultSetCommon implements ResultSet {
|
||||
$this->afterLast();
|
||||
return false;
|
||||
}
|
||||
if ($this->result === true ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->fields = mssql_fetch_array($this->result, $this->fetchmode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user