Fixed #21866 -- Replaced "COMMIT" in managmement command SQL with backend hook.