Query: select DATE_FORMAT(d.date,'%d/%m/%Y') as game_date, d.day as day,
tsc.id as tsc_id
from tournament_stages tst, tournament_schedule tsc, days d,
tournament_groups_stages tgs, seasons ss
where tsc.day = d.day and tsc.tour_stage = tst.id
and tsc.round = tst.last_round
and tgs.id = '104' and tst.id = tgs.stage
and tst.season = 21 and tgs.season = 21
and ss.season = 21 and ss.start_day <= d.day
and ss.end_day >= d.day error: Out of resources when opening file './fb_arc/seasons.MYD' (Errcode: 24)