File: phpbb/db/driver/driver.php
Unmodified
Added
Modified
Removed
Line 897 | Line 897 |
---|
<html dir="ltr"> <head> <meta charset="utf-8">
|
<html dir="ltr"> <head> <meta charset="utf-8">
|
| <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<title>SQL Report</title> <link href="' . htmlspecialchars($phpbb_path_helper->update_web_root_path($phpbb_root_path) . $phpbb_path_helper->get_adm_relative_path()) . 'style/admin.css" rel="stylesheet" type="text/css" media="screen" /> </head>
| <title>SQL Report</title> <link href="' . htmlspecialchars($phpbb_path_helper->update_web_root_path($phpbb_root_path) . $phpbb_path_helper->get_adm_relative_path()) . 'style/admin.css" rel="stylesheet" type="text/css" media="screen" /> </head>
|
Line 962 | Line 963 |
---|
{ if (preg_match('/^(UPDATE|DELETE|REPLACE)/', $query)) {
|
{ 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>'; }
| } $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>'; }
|