From: Kevin Israel Date: Sat, 7 Dec 2013 20:23:10 +0000 (-0500) Subject: Remove $dbw->close() call from convertLinks.php X-Git-Tag: 1.31.0-rc.0~17719^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20%20%20%24self2%20.%20%20%20%22&var_mode_affiche=boucle?a=commitdiff_plain;h=a0f6cb7cee7150a904e2a12279856148f7d11585;p=lhc%2Fweb%2Fwiklou.git Remove $dbw->close() call from convertLinks.php This confuses LoadBalancer; after this script is run from the updater, the closed DB connection is (unsuccessfully) reused. Change-Id: Ie9b25b73873fcddb062037e34877afeb75c5d081 --- diff --git a/maintenance/convertLinks.php b/maintenance/convertLinks.php index 17b911108b..6e6df24be6 100644 --- a/maintenance/convertLinks.php +++ b/maintenance/convertLinks.php @@ -209,7 +209,6 @@ This gives a huge speed improvement for very large links tables which are MyISAM $dbw->query( "RENAME TABLE links TO $links_backup, $links_temp TO $links", __METHOD__ ); $this->output( " done.\n\n" ); - $dbw->close(); $this->output( "Conversion complete. The old table remains at $links_backup;\n" ); $this->output( "delete at your leisure.\n" ); } else {