Index: wp-includes/ms-functions.php
===================================================================
--- wp-includes/ms-functions.php	(revision 40586)
+++ wp-includes/ms-functions.php	(working copy)
@@ -1393,12 +1393,12 @@
 
 	require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
 
-	$suppress = $wpdb->suppress_errors();
-	if ( $wpdb->get_results( "DESCRIBE {$wpdb->posts}" ) )
+	if ( $wpdb->get_results( "SHOW TABLES LIKE '{$wpdb->posts}'" ) ) {
 		die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p></body></html>' );
-	$wpdb->suppress_errors( $suppress );
+	}
 
-	$url = get_blogaddress_by_id( $blog_id );
+	$site = get_site( (int) $blog_id );
+	$url = esc_url( 'http://' . $site->domain . $site->path );
 
 	// Set everything up
 	make_db_current_silent( 'blog' );
