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:
16cded8
)
Comment out unused if (code inside it is commented out
author
Sam Reed
<reedy@users.mediawiki.org>
Sun, 24 Oct 2010 21:02:57 +0000
(21:02 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Sun, 24 Oct 2010 21:02:57 +0000
(21:02 +0000)
includes/db/DatabaseMysql.php
patch
|
blob
|
history
diff --git
a/includes/db/DatabaseMysql.php
b/includes/db/DatabaseMysql.php
index
75e28f3
..
07a4042
100644
(file)
--- a/
includes/db/DatabaseMysql.php
+++ b/
includes/db/DatabaseMysql.php
@@
-76,10
+76,10
@@
class DatabaseMysql extends DatabaseBase {
# Create a new connection...
$this->mConn = mysql_connect( $realServer, $user, $password, true );
}
-
if ($this->mConn === false
) {
+
#if ( $this->mConn === false
) {
#$iplus = $i + 1;
#wfLogDBError("Connect loop error $iplus of $max ($server): " . mysql_errno() . " - " . mysql_error()."\n");
- }
+
#
}
}
$phpError = $this->restoreErrorHandler();
# Always log connection errors