diff options
author | mkanat%bugzilla.org <> | 2008-03-26 00:43:20 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-03-26 00:43:20 +0100 |
commit | 9c41867dba879502b744fce9a588c3bdc284961d (patch) | |
tree | 178a55bba638561cc7db712a299601c47ab6aafe /Bugzilla/DB | |
parent | 6daf06596dcdf0422624ce283ebcccbfe528bb24 (diff) | |
download | bugzilla-9c41867dba879502b744fce9a588c3bdc284961d.tar.gz bugzilla-9c41867dba879502b744fce9a588c3bdc284961d.tar.xz |
Upgrades from 2.08 were failing because we tried to do bz_index_info_real on the longdescs table, which didn't exist.
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Mysql.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index f5e2c9bec..8bca06f4c 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -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'); } |