mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-22 16:22:58 +02:00
Merge branch '3.1.x'
* 3.1.x: [ticket/14116] sql_affectedrows method has no arguments
This commit is contained in:
@@ -962,7 +962,7 @@ abstract class driver implements driver_interface
|
||||
{
|
||||
if (preg_match('/^(UPDATE|DELETE|REPLACE)/', $query))
|
||||
{
|
||||
$this->sql_report .= 'Affected rows: <b>' . $this->sql_affectedrows($this->query_result) . '</b> | ';
|
||||
$this->sql_report .= 'Affected rows: <b>' . $this->sql_affectedrows() . '</b> | ';
|
||||
}
|
||||
$this->sql_report .= 'Before: ' . sprintf('%.5f', $this->curtime - $starttime) . 's | After: ' . sprintf('%.5f', $endtime - $starttime) . 's | Elapsed: <b>' . sprintf('%.5f', $endtime - $this->curtime) . 's</b>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user