Lore System Error

There was an error querying the database.

Query: INSERT INTO lore_search_log (search, the_time) VALUES ('MAC', '1511434282')

Error Message: (145) Table './lore/lore_search_log' is marked as crashed and should be repaired