Add fixme note to replace 'mysql' command-line callout with proper usage of a second...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 4 Aug 2009 23:24:58 +0000 (23:24 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 4 Aug 2009 23:24:58 +0000 (23:24 +0000)
maintenance/populateSha1.php

index 4233cb2..72ef946 100644 (file)
@@ -56,6 +56,7 @@ class PopulateSha1 extends Maintenance {
                $batch = array();
        
                if ( $method == 'pipe' ) {
+                       // @fixme kill this and replace with a second unbuffered DB connection.
                        global $wgDBuser, $wgDBserver, $wgDBpassword, $wgDBname;
                        $cmd = 'mysql -u' . wfEscapeShellArg( $wgDBuser ) . 
                                ' -h' . wfEscapeShellArg( $wgDBserver ) .