Remove $dbw->close() call from convertLinks.php
authorKevin Israel <pleasestand@live.com>
Sat, 7 Dec 2013 20:23:10 +0000 (15:23 -0500)
committerKevin Israel <pleasestand@live.com>
Sat, 7 Dec 2013 20:23:10 +0000 (15:23 -0500)
This confuses LoadBalancer; after this script is run from the
updater, the closed DB connection is (unsuccessfully) reused.

Change-Id: Ie9b25b73873fcddb062037e34877afeb75c5d081

maintenance/convertLinks.php

index 17b9111..6e6df24 100644 (file)
@@ -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 {