vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r22535: LJSUP-13165: remove warnings and errors ...

Committer: vad
LJSUP-13165: remove warnings and errors from log
U   trunk/cgi-bin/LJ/AccessLogSink/Database.pm
Modified: trunk/cgi-bin/LJ/AccessLogSink/Database.pm
===================================================================
--- trunk/cgi-bin/LJ/AccessLogSink/Database.pm	2012-07-31 15:21:57 UTC (rev 22534)
+++ trunk/cgi-bin/LJ/AccessLogSink/Database.pm	2012-07-31 19:29:16 UTC (rev 22535)
@@ -111,6 +111,9 @@
     $copy->{$_} = $rec->{$_} foreach $rec->keys;
     $self->extra_values($rec, $copy);
 
+    # FIXME: add "accept" column to the SQL above
+    delete $copy->{'accept'};
+
     my $ins = sub {
         my $delayed = $LJ::IMMEDIATE_LOGGING ? "" : "DELAYED";
         $dbl->do("INSERT $delayed INTO $table (" . join(',', keys %$copy) . ") ".

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