]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Upgrades from 2.08 were failing because we tried to do bz_index_info_real on the...
authormkanat%bugzilla.org <>
Tue, 25 Mar 2008 23:43:20 +0000 (23:43 +0000)
committermkanat%bugzilla.org <>
Tue, 25 Mar 2008 23:43:20 +0000 (23:43 +0000)
Bugzilla/DB/Mysql.pm

index f5e2c9becc22371cb3d03b3578252937df13f47e..8bca06f4c874480273f738683105921630edfd44 100644 (file)
@@ -258,7 +258,7 @@ EOT
     my ($sd_index_deleted, $longdescs_index_deleted);
     my @tables = $self->bz_table_list_real();
     # We want to convert tables to InnoDB, but it's possible that they have 
-    # fulltext indexes on them, and conversation will fail unless we remove
+    # fulltext indexes on them, and conversion will fail unless we remove
     # the indexes.
     if (grep($_ eq 'bugs', @tables)) {
         if ($self->bz_index_info_real('bugs', 'short_desc')) {
@@ -268,6 +268,8 @@ EOT
             $self->bz_drop_index_raw('bugs', 'bugs_short_desc_idx');
             $sd_index_deleted = 1; # Used for later schema cleanup.
         }
+    }
+    if (grep($_ eq 'longdescs', @tables)) {
         if ($self->bz_index_info_real('longdescs', 'thetext')) {
             $self->bz_drop_index_raw('longdescs', 'thetext');
         }