Error al obtener registro de la tabla
1296: Got error 122 'Internal (unspecified) error in handler' from Aria
La Consulta es:
SELECT * FROM banner bc WHERE bzo_id = 20 AND cam_estado = 'a' AND DATE_FORMAT('2015-02-02','%Y-%m-%d') BETWEEN DATE_FORMAT(cam_fechainicio,'%Y-%m-%d') AND DATE_FORMAT(cam_fechafin,'%Y-%m-%d') AND sec_id < 1 ORDER BY RAND()