MySQL & MariaDB error 1841 ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY
MySQL@@GLOBAL.GTID_PURGED can only be set when there are no ongoing transactions (not even in other clients).
MariaDBGTID_PURGED can only be set when there are no ongoing transactions (not even in other clients)
How the message changed between versions