Invalid query: Table 'tables' is marked as crashed and should be repaired Whole query: