diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index 7312e2a..24a9229 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -163,7 +163,9 @@
  * Rename {comments} table to {comment} and upgrade it.
  */
 function comment_update_7002() {
-  db_rename_table('comments', 'comment');
+  if (db_table_exists('comments')) {
+    db_rename_table('comments', 'comment');
+  }
 
   // Add user-related indexes. These may already exist from Drupal 6.
   if (!db_index_exists('comment', 'comment_uid')) {
