DB-766 patch wait_while_table_is_used to ignore HA_EXTRA_NOT_USED function