mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'bantu/ticket/10294' into develop-olympus
* bantu/ticket/10294: [ticket/10294] Fix sql_affectedrows() in mssqlnative driver.
This commit is contained in:
commit
92373e6d46
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ class dbal_mssqlnative extends dbal
|
||||||
*/
|
*/
|
||||||
function sql_affectedrows()
|
function sql_affectedrows()
|
||||||
{
|
{
|
||||||
return ($this->db_connect_id) ? @sqlsrv_rows_affected($this->db_connect_id) : false;
|
return (!empty($this->query_result)) ? @sqlsrv_rows_affected($this->query_result) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue