fix mysql SP: error when edit_ms/edit_ls switch schedule to once/single