Help for this page

Select Code to Download


  1. or download this
    my $query = $self->{dbh}->prepare("select * from $database.$self->{hit
    +_table} where time between ? and ? order by visit_id, time", {'mysql_
    +use_result' => $self->{optimize}});
    $query->execute($start_time + 0, $end_time + 0);
    ...
    {
       # Do calculation
    }
    
  2. or download this
    DBD::mysql::st fetchrow_hashref failed: Lost connection to MySQL serve
    +r during query