stack/erp5: Improve clone startup script.
Always running SQL_CHANGE_MASTER breaks GTID setup (at least on 10.1.24) as it resets MASTER_USE_GTID. So only run it when not using GTID. Also, fold SQL_SET_GTID into the existing "if" bloc for simplicity.
1 parent 0d302559
Showing 2 changed files with 10 additions and 3 deletions