select max(vi_id) as max_vi_id from g5_visit

144 : Table './najasin_heroes/g5_visit' is marked as crashed and last (automatic?) repair failed

error file : /heroes/simul/index.php