we hawe problem in sql query: SQLSTATE[HY000]: General error: 1021 Disk full (/var/tmp/#sql_7ace_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_country cf on cf.id_film = a.id
WHERE 1 AND cf.`id_country` = 7 AND a.`id_status` = 2 AND a.`id_type` = 2 group by a.id
ORDER BY rating DESC LIMIT 0,30