It depends on the dog.
Sometimes it's caught in time for the dog's stomach to be pumped; sometimes it's not.
The vast majority of dogs, however, will stop eating once they've had enough.
they might eat to the point of nausea, or until they throw up, but rarely, if ever, until they die.