select max(vi_id) as max_vi_id from g4_visit

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

error file : /01_info/01-info-002-02-11e.php