vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r18426: Add mysql_auto_reconnect option.

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();
 }

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