Index: src/wp-admin/includes/upgrade.php
===================================================================
--- src/wp-admin/includes/upgrade.php	(revision 33608)
+++ src/wp-admin/includes/upgrade.php	(working copy)
@@ -1686,7 +1686,7 @@
 			$tables = $wpdb->tables( 'global' );
 
 			// sitecategories may not exist.
-			if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
+			if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
 				unset( $tables['sitecategories'] );
 			}
 
@@ -1715,7 +1715,7 @@
 			$tables = $wpdb->tables( 'global' );
 
 			// sitecategories may not exist.
-			if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
+			if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
 				unset( $tables['sitecategories'] );
 			}
 
