The Mets were the only other active big league team without a no-hitter before Johan Santana pitched one against St. Louis in June 2012

Published Jul 20, 2014 at 9:06 PM

Receive the latest sports updates in your inbox

San Diego Padres' Seth Smith comes out of the batter's box looking up at the high bounce of the ball he hit in the bottom of the ninth inning that was misplayed by the New York Mets relief pitcher Josh Edgin and led to the Padres' 2-1 victory in a baseball game Sunday, July 20, 2014, in San Diego. (AP Photo/Lenny Ignelzi)

Odrisamer Despaigne came within four outs of the first no-hitter in San Diego's 46-year major league history, and the Padres beat the New York Mets 2-1 Sunday on Seth Smith's run-scoring infield single in the ninth.

Making his fifth major league start, Despaigne didn't allow a hit until Daniel Murphy doubled to left-center with two outs in the eighth. San Diego, the only active major league franchise without a no-hitter, was playing its 7,264th regular-season game and has played 34 more in the postseason.

The Mets were the only other active big league team without a no-hitter before Johan Santana pitched one against St. Louis in June 2012 during New York's 8,020th regular-season game.

Murphy scored on David Wright's single to tie the score 1-1.

Vic Black (2-3) walked Carlos Quentin on four pitches leading off the ninth, and Alexi Amarista bunted, with pinch-runner Cameron Maybin advancing to second and Amarista reaching when the ball went through Black's legs for an error.

Chase Headley grounded into a 4-3-6 double play as Maybin reached third. Josh Edgin relieved, and the pitcher tumbled to the ground when he came off the mound to field Smith's bouncer between the mound and first. Edgin dropped the ball, picked it up and then shoveled it to first too late to catch Smith as Maybin came across the plate.

New York scored one run in the last 18 innings of the series and has lost two in a row following a 9-2 spurt.

Despaigne, a 27-year-old Cuban right-hander signed as a minor league free agent on May 2, allowed one run and two hits in 7 2-3 innings with five strikeouts and three walks. He threw 123 pitches and lowered his ERA to 1.31.

His was the longest no-hit bid by a single Padres pitcher since Sept. 7, 2008, when Chris Young allowed a two-out home run in the eighth to Milwaukee's Gabe Kapler.

Yasmani Grandal homered in the fourth off Zack Wheeler, who allowed one run and eight hits in six innings with seven strikeouts and a walk.