Things worked out reasonably well, although the mother might not have been bitten if she had stayed with the child.
Dogs are pack animals. Things could have worked out badly if the mother left the child to confront dog #1, and dog #2 then attacked an already injured kid.
And if Godzilla had been in the neighborhood ... and if a solar magnetic storm had hit just then ... and if