San Francisco wins it in the 11th on a wild error at first base.