Flaherty, who no-hit the Giants for 6 1/3 innings on July 7, improved to 9-7. Carlos Martinez, relieving for the fourth straight day, came on to pitch the ninth and get his 18th save, allowing one hit in the process.
Flaherty sailed through the first five innings against the Giants on Tuesday night without allowing a hit. The Giants broke up the no-hitter with two outs in the sixth on a clean single to right by Mike Yastrzemski.