diff --git a/core/modules/locale/locale.compare.inc b/core/modules/locale/locale.compare.inc index c7d4306..c27e350 100644 --- a/core/modules/locale/locale.compare.inc +++ b/core/modules/locale/locale.compare.inc @@ -37,9 +37,7 @@ function locale_translation_get_projects() { if (empty($projects)) { // Get project data from the database. - // @todo: http://drupal.org/node/1627006#comment-6396658 - // Specify the columns because SELECT * has bad performance on InnoDB. - $result = db_query('SELECT * FROM {locale_project}'); + $result = db_query('SELECT name, project_type, core, version, server_pattern, status FROM {locale_project}'); // @todo: http://drupal.org/node/1627006#comment-6396658 // This may not be sufficient to check if the information is out of date for @@ -48,9 +46,7 @@ function locale_translation_get_projects() { // At least the core project should be in the database, so we build the // data if none are found. locale_translation_build_projects(); - // @todo: http://drupal.org/node/1627006#comment-6396658 - // Specify the columns because SELECT * has bad performance on InnoDB. - $result = db_query('SELECT * FROM {locale_project}'); + $result = db_query('SELECT name, project_type, core, version, server_pattern, status FROM {locale_project}'); } foreach ($result as $project) {