removed HA_TABLE_SCAN_ON_INDEX in table_flags