From fbc9303fbf191d39a21ec6aa6c4734f9094ba495 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 10 Jul 2004 01:07:30 +0000 Subject: [PATCH] Log function name --- includes/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" . -- 2.20.1