LOCK TABLES FOR BACKUP should depend on BACKUP_ADMIN instead of RELOAD

Description

Upstream LOCK INSTANCE FOR BACKUP uses new-in-8.0 BACKUP_ADMIN privilege. Existing 5.7 installations grant this privilege to users that had RELOAD privilege automatically. Our backup locks should use the same privilege.

Not tested MTR for main.backup_locks:

Environment

None

has to be finished together with

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Time tracking

3h 1m logged

Fix versions

Priority

Smart Checklist

Created November 14, 2018 at 12:41 PM
Updated March 6, 2024 at 12:42 PM
Resolved November 21, 2018 at 9:43 AM