From: Tim Starling Date: Sat, 10 Jul 2004 01:07:30 +0000 (+0000) Subject: Log function name X-Git-Tag: 1.5.0alpha1~2704 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=fbc9303fbf191d39a21ec6aa6c4734f9094ba495;p=lhc%2Fweb%2Fwiklou.git Log function name --- diff --git a/includes/Database.php b/includes/Database.php index 3cb22ea957..bab6cd8735 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -186,7 +186,7 @@ class Database { wfDebug("SQL ERROR (ignored): " . $error . "\n"); } else { $sql1line = str_replace( "\n", "\\n", $sql ); - wfLogDBError("$errno\t$error\t$sql1line\n"); + wfLogDBError("$fname\t$errno\t$error\t$sql1line\n"); wfDebug("SQL ERROR: " . $error . "\n"); if ( $wgCommandLineMode ) { wfDebugDieBacktrace( "A database error has occurred\n" .