From 52b9837a603e99f5788c64e1db137fa1c4ab6958 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 22 Dec 2010 01:11:22 +0000 Subject: [PATCH] Revert r78767. The problem was $wgDBerrorLog being false. --- maintenance/fuzz-tester.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/fuzz-tester.php b/maintenance/fuzz-tester.php index 99ff9e6641..124b017177 100644 --- a/maintenance/fuzz-tester.php +++ b/maintenance/fuzz-tester.php @@ -2509,8 +2509,8 @@ function dbErrorLogged() { // first time running this function if ( !isset( $filesize ) ) { // create log if it does not exist - if ( !file_exists( DB_ERROR_LOG_FILE ) ) { - saveFile( DB_ERROR_LOG_FILE, '' ); + if ( DB_ERROR_LOG_FILE && !file_exists( DB_ERROR_LOG_FILE ) ) { + saveFile( '', DB_ERROR_LOG_FILE ); } $filesize = filesize( DB_ERROR_LOG_FILE ); return false; -- 2.20.1