wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r19069: LJSUP-8840. Minor fix

Committer: gprochaev
LJSUP-8840. Minor fix

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 02:43:50 UTC (rev 19068)
+++ trunk/bin/upgrading/update-db-general.pl	2011-05-18 03:10:43 UTC (rev 19069)
@@ -4343,7 +4343,7 @@
         do_alter("category", "ALTER TABLE category MODIFY parentcatid INT UNSIGNED NOT NULL");
     }
 
-    if (column_type("category_recent_posts", "pic_orig_url")) {
+    unless (column_type("category_recent_posts", "pic_orig_url")) {
         do_alter("category_recent_posts",
             "ALTER TABLE category_recent_posts
                 ADD pic_orig_url VARCHAR(255) NOT NULL DEFAULT '',

Tags: livejournal, pl, wisest-owl
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