we hawe problem in sql query: SQLSTATE[HY000]: General error: 1021 Disk full (/var/tmp/#sql_6cc4_0); waiting for someone to free some space... /var/www/kinolexx/data/www/kinolexx.ru/trunk/application/class/class.simplepdo.php 30
SELECT a.*,t.title as type,
cr.title as child_rating,crm.title as child_rating_mpaa
FROM `film` a
LEFT JOIN film_type t ON t.id=a.id_type
LEFT JOIN child_rating cr ON cr.id=a.id_child_rating
LEFT JOIN child_rating_mpaa crm ON crm.id=a.id_mpaa
left join film_ganre gf on gf.id_film = a.id
WHERE 1 AND gf.`id_ganre` = 5 AND a.`id_status` = 2 AND a.`id_type` = 1 group by a.id
ORDER BY rating DESC LIMIT 5370,30