select distinct obj_id,obj_type,obi_name,obi_introtext,obj_start_date,obj_start_time,obj_finish_date,obj_finish_time,obj_blog_topimage,obj_blog_length,gal_id,gaf_file, SQRT(POW(obj_gps_lat-'48.932858333333',2)+POW(obj_gps_lon-'16.891591666667',2)) as distance from Objects left join Galerie on gal_id=obj_gal_id and gal_show=2 left join Galerie_foto on gaf_gal_id=gal_id and gaf_show=2, Objects_info where obj_show=2 and obj_show_catalog=2 and obj_id not in (87099) and obj_type='2' and ((obj_start_date is NULL and obj_start_date is NULL) or (obj_start_date>='20250914' or obj_finish_date>='20250914')) and obi_obj_id=obj_id and obi_lang='cz' and obi_show=2 order by distance limit 12
Disk full (/tmp/#sql_49d_1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")