Committer: afedorov
LJSUP-9804: Problem with writing properties data for entries on Omega/Alpha/Beta serversU 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;