Database error: Invalid SQL: SELECT Locations.id AS location_id, Locations.name AS location_name, Locations.sortoverride AS sortoverride, place, address, town, zip, country AS cc, phone, Locations.url AS url, email, Locations.hours AS hours, Locations.descr AS descr, Locations.flags AS flags, addressgrouping, Countries.zipcodestyle AS zipcodestyle, IFNULL(DATE(opening_start), show_start) AS start_override, show_start, show_end, opening_start, date_override, Exhibitions.title AS exhibition_title, Exhibitions.descr AS exhibition_description, Exhibitions.descr_extended AS exhibition_pressrelease, Exhibitions.id AS exhibition_id FROM Locations, Countries, Exhibitions WHERE Exhibitions.location_id=Locations.id AND Locations.status >= 0 AND Locations.country=Countries.cc AND (Locations.flags & 31) <> 0 AND Locations.country='US' AND Locations.place='New York' AND Exhibitions.location_id=Locations.id AND Exhibitions.status >= 0 AND (show_end >= '2017-11-22' AND IFNULL(DATE(opening_start), show_start) >= '2013-12-16' AND IFNULL(DATE(opening_start), show_start) <= '2013-12-16') ORDER BY IFNULL(DATE(Exhibitions.opening_start), Exhibitions.show_start) , CONCAT(IFNULL(sortoverride, ''), Locations.name)
MySQL Error: 1053 (Server shutdown in progress)
Session halted.