Committer: vad
Add mysql_auto_reconnect option.U trunk/bin/upgrading/update-db.pl
Modified: trunk/bin/upgrading/update-db.pl =================================================================== --- trunk/bin/upgrading/update-db.pl 2011-03-01 11:33:41 UTC (rev 18425) +++ trunk/bin/upgrading/update-db.pl 2011-03-01 20:48:04 UTC (rev 18426) @@ -210,6 +210,7 @@ or die "Couldn't get master handle for population."; $dbh->{'RaiseError'} = 0; $dbh->{'PrintError'} = 1 if $LJ::IS_DEV_SERVER; + $dbh->{'mysql_auto_reconnect'} = 1; populate_database(); }