r110308 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r110307
|
r110308
|
r110309
>
Date:
17:36, 30 January 2012
Author:
hashar
Status:
ok
Tags:
Comment:
rv
r87948
"fix backtrace on SQL error"
Looks unneeded nowaday. Backtrace is correctly appended to HTML output
or CLI output when $wgShowDBErrorBacktrace is true.
Not sure what it was supposed to fix.
Modified paths:
/trunk/phase3/includes/db/DatabaseError.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/db/DatabaseError.php
—
—
@@ -272,10 +272,6 @@
273
273
"Query: $sql\n" .
274
274
"Function: $fname\n" .
275
275
"Error: $errno $error\n";
276
- global $wgShowDBErrorBacktrace;
277
- if( $wgShowDBErrorBacktrace ) {
278
- $message .= $this->getTraceAsString();
279
- }
280
276
parent::__construct( $db, $message );
281
277
282
278
$this->error = $error;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r87948
fix backtrace on SQL error...
hashar
07:05, 13 May 2011
Status & tagging log
18:25, 30 January 2012
IAlex
(
talk
|
contribs
)
changed the
status
of r110308
[
removed:
new
added:
ok]