sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[livejournal] r21502: LJSUP-11604: 500 error occurs for some e...

Committer: vtroitsky
LJSUP-11604: 500 error occurs for some entries in user's journals. When entry backup performed during fixup_reply_count.
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2012-03-22 08:27:51 UTC (rev 21501)
+++ trunk/cgi-bin/LJ/Talk.pm	2012-03-22 08:32:24 UTC (rev 21502)
@@ -1187,7 +1187,7 @@
         $sharedmode = "LOCK IN SHARE MODE";
         $u->begin_work;
     } else {
-        $u->do("LOCK TABLES log2 WRITE, talk2 READ");
+        $u->do("LOCK TABLES log2 WRITE, talk2 READ, logbackup WRITE");
     }
 
     # get count and then update.  this should be totally safe because we've either

Tags: livejournal, pm, sunnyman, vtroitsky
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