Committer: afedorov
Check existing tables in user's clustersU trunk/bin/upgrading/update-db-general.pl
Modified: trunk/bin/upgrading/update-db-general.pl =================================================================== --- trunk/bin/upgrading/update-db-general.pl 2011-05-18 07:42:17 UTC (rev 19072) +++ trunk/bin/upgrading/update-db-general.pl 2011-05-18 09:22:23 UTC (rev 19073) @@ -3664,7 +3664,7 @@ } # change interest.interest key to being unique, if it's not already - { + if (table_exists("interests")) { my $sth = $dbh->prepare("SHOW INDEX FROM interests"); $sth->execute; while (my $i = $sth->fetchrow_hashref) {