Error al obtener registro de la tabla
1194: Table 'aarticulos' is marked as crashed and should be repaired
La Consulta es:
SELECT a.* FROM aarticulos a INNER JOIN aarticulossecciones s ON s.art_id = a.art_id AND s.sec_id = 13 WHERE (a.art_estado = 'p' OR (a.art_estado = 'ap' AND DATE_FORMAT(a.art_fecha,'%Y-%m-%d %H:%i:%s') <= '2017-04-30 05:57:20')) ORDER BY a.art_fecha DESC LIMIT 0,30