Table './madteam_usuaris/usuarisFotosGaleries' is marked as crashed and should be repaired SELECT SQL_CALC_FOUND_ROWS titolUrl,titol,fecha,tipo FROM madteam_usuaris.usuarisEntradas where idUser='1638' and public='si' union SELECT id,titulo,UNIX_TIMESTAMP(fecha),tipo FROM madteam_net.usuarios_rutas where usuario='Zodiaco' union SELECT g.id,g.titolGaleria,g.fechaGal as fecha,'galeria' FROM madteam_usuaris.usuarisFotosGaleries g WHERE g.idUser='1638' union SELECT id,titulo,fecha,'video' FROM madteam_net.usuarios_video where alias='Zodiaco' ORDER BY fecha DESC limit 10