[00000061-00.1|01.6] 2022-07-31 21:58:14 ERROR LoggingSQLiteCommand.ExecuteReader : SELECT IFNULL(p.reason, ''), p.penalty, p.penalty_value, p.violation_in_lap, p.cleared_in_lap, d.driver_first_name, d.driver_last_name, d.driver_short_name, p.car_id FROM penalties p INNER JOIN session_drivers d ON p.session_id=d.session_id AND p.car_id=d.car_id AND p.driver_index=d.driver_id WHERE p.session_id=@session_id
@session_id=88730373-eb3a-4335-ae24-5dc860077387
[0000002F-00.1|01.6] 2022-07-31 21:58:14 ERROR LoggingSQLiteCommand.ExecuteReader : SELECT DISTINCT l.session_id, s.track_id, l.car_model_id, l.lap_number, l.lap_time, l.sector1_time, l.sector2_time, l.sector3_time, l.sector4_time, l.fuel, l.timestamp, l.flags, l.car_id, c.race_number, IFNULL(c.team_name, ''), d.driver_first_name, d.driver_last_name, d.driver_short_name, l.position, l.penalty, IFNULL(l.status, ""), IFNULL(l.rain_tyres, -1), IFNULL(l.tyre_pressure_fl, -1.0), IFNULL(l.tyre_pressure_fr, -1.0), IFNULL(l.tyre_pressure_rl, -1.0), IFNULL(l.tyre_pressure_rr, -1.0), IFNULL(l.tyre_temp_fl, -1.0), IFNULL(l.tyre_temp_fr, -1.0), IFNULL(l.tyre_temp_rl, -1.0), IFNULL(l.tyre_temp_rr, -1.0), IFNULL(l.gap_time, -1), IFNULL(s.is_online, 0), IFNULL(l.ecu_mode, -1), IFNULL(l.max_speed, -1), IFNULL(l.peak_accel_time, -1), IFNULL(l.peak_accel_dist, -1), IFNULL(l.accel_zone_min_speed, -1), IFNULL(l.accel_zone_max_speed, -1), IFNULL(l.peak_acceleration, -1), IFNULL(l.damage_front, 0), IFNULL(l.damage_rear, 0), IFNULL(l.damage_centre, 0), IFNULL(l.damage_left, 0), IFNULL(l.damage_right, 0), IFNULL(l.air_temp, 0), IFNULL(l.road_temp, 0), IFNULL(d.category, 255), IFNULL(d.nationality, 0), IFNULL(c.cup_category, ''), IFNULL(l.lap_type, 0), IFNULL(a.num_accidents, 0), IFNULL(l.real_timestamp, -1),IFNULL(l.lap_completed_timestamp, -1), IFNULL(l.lap_zero_timestamp, -1), IFNULL(l.broadcast_position, 0), IFNULL(l.position_start_lap, 0), IFNULL(l.fuel_start_lap, -10), IFNULL(l.wind_speed, 0), IFNULL(l.wind_direction, 0), IFNULL(d.moniker, ''), IFNULL(d.player_name, ''), IFNULL(l.brake_bias, 0), IFNULL(l.tyre_set, -1), IFNULL(l.track_grip_status, -1), IFNULL(l.rain_intensity, -1), IFNULL(s.dry_tyre_name, ''), IFNULL(s.wet_tyre_name, ''), IFNULL(l.suspension_damage_fl, 0), IFNULL(l.suspension_damage_fr, 0), IFNULL(l.suspension_damage_rl, 0), IFNULL(l.suspension_damage_rr, 0), CAST(IFNULL(d.driver_player_id, '0') AS TEXT), d.driver_id, IFNULL(l.brake_temp_fl, 0), IFNULL(l.brake_temp_fr, 0), IFNULL(l.brake_temp_rl, 0), IFNULL(l.brake_temp_rr, 0), IFNULL(l.brake_compound_f, 0), IFNULL(l.brake_compound_f, 0) FROM session_def AS s INNER JOIN laps AS l ON s.season_id=l.session_id INNER JOIN session_cars c ON l.session_id=c.session_id AND l.car_id=c.car_id INNER JOIN session_drivers d ON l.session_id=d.session_id AND l.car_id=d.car_id AND l.driver_id=d.driver_id LEFT OUTER JOIN (SELECT COUNT(*) as num_accidents, session_id, car_id, lap_number FROM session_accidents GROUP BY session_id, car_id, lap_number) a ON l.session_id=a.session_id AND l.car_id=a.car_id AND l.lap_number=a.lap_number WHERE l.session_id=@sessionId AND (c.race_number=@raceNumber OR (l.car_id=0 and s.player_race_number is null) OR (l.car_id>1000 AND s.is_online=1 AND s.recorded_by='SHM') OR (s.recorded_by='BULK')) ORDER BY l.lap_number, l.position ASC
@sessionId=13415958-9848-4481-9c2d-44b0ccf0c3bf
@raceNumber=37
[00000061-00.1|01.6] 2022-07-31 21:58:14 ERROR ResultsDB.error : Exception getting penalties for session 88730373-eb3a-4335-ae24-5dc860077387 and car -1 : database is locked
database is locked
[0000002F-00.1|01.6] 2022-07-31 21:58:14 ERROR ResultsDB.error : Error reading lap details database is locked
database is locked