mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-17 23:21:33 +02: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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user