alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r19073: Check existing tables in user's clusters

Committer: afedorov
Check existing tables in user's clusters

U   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) {

Tags: livejournal, pl, red_alf
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments