dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a55ec
)
Revert r78767. The problem was $wgDBerrorLog being false.
author
Platonides
<platonides@users.mediawiki.org>
Wed, 22 Dec 2010 01:11:22 +0000
(
01:11
+0000)
committer
Platonides
<platonides@users.mediawiki.org>
Wed, 22 Dec 2010 01:11:22 +0000
(
01:11
+0000)
maintenance/fuzz-tester.php
patch
|
blob
|
history
diff --git
a/maintenance/fuzz-tester.php
b/maintenance/fuzz-tester.php
index
99ff9e6
..
124b017
100644
(file)
--- 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;