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