alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r20169: LJSUP-9804: Problem with writing propert...

Committer: afedorov
LJSUP-9804: Problem with writing properties data for entries on Omega/Alpha/Beta servers

U   trunk/bin/upgrading/update-db.pl
Modified: trunk/bin/upgrading/update-db.pl
===================================================================
--- trunk/bin/upgrading/update-db.pl	2011-09-29 07:30:53 UTC (rev 20168)
+++ trunk/bin/upgrading/update-db.pl	2011-09-29 08:11:51 UTC (rev 20169)
@@ -140,6 +140,12 @@
     $dbh->{'RaiseError'} = 0;
     $dbh->{'PrintError'} = 1 if $LJ::IS_DEV_SERVER;
 
+    # reset everything
+    %clustered_table = %table_exists = %table_unknown =
+        %table_create = %table_drop = %post_create =
+        %coltype = %indexname = %table_status = ();
+    @alters = ();
+
     ## figure out what tables already exist (but not details of their structure)
     $sth = $dbh->prepare("SHOW TABLES");
     $sth->execute;

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