The Orioles' extra-inning battles in Boston last season helped build this franchise a new foundation of winning against the big bad Red Sox.

And this year's version of the Orioles never needed a victory at Fenway Park as badly as it did Wednesday night.

A day after setting a club record with his 51st homer Orioles first baseman Chris Davis helped his team win with small ball hitting a two-out two-run single through the middle of the infield against left-hander Franklin Morales (2-2) in the 12th inning. With their 5-3 win before an announced sellout of 38540 at Fenway Park the Orioles moved to within one game of the second American League wild-card spot with 11 to play.

“We've been here before” Davis said. “I think last year we were obviously really good in one-run games and I think we kind of learned a little bit about ourselves and what it takes to compete in those games. This year is no different. We know its crunch time right now and that we've got to take whatever we can get.”

The Orioles (81-70) recorded their sixth series win in their past seven trips to Fenway Park and their 14th win in their past 19 games in Boston. Last year they won four games in extra innings here.

Wednesday night the Orioles went errorless for the 114th game this season passing the 2008 Houston Astros for the most in major league history since 1900.

The Orioles also got a boost from their bullpen which pitched 61/3 scoreless innings including multiple-inning outings by right-handers Kevin Gausman and Tommy Hunter. Closer Jim Johnson pitched a scoreless 12th for his 47th save.

“You're very cautious ... about the health of your bullpen because there's going to come a time in September where you're going to have to go to the crop with them” Orioles manager Buck Showalter said. “I'll tell you I didn't have Darren [O'Day] tonight but I feel like we'll have him tomorrow. I was trying to get through that game. [Jason Hammel] was getting ready to head to the bullpen the next inning even potentially [Bud] Norris if it got there. We were trying to stay away from Chris Davis.”

While Showalter jokes about not wanting to use Davis in another late-inning situation at Fenway Park as he was forced to do last year the manager was at a loss for words to describe the slugger's production at the plate and first base.

“I'm going to run out of adjectives for what he's done” Showalter said. “Chris has been solid and he's been consistent. I'll tell you he made a couple of plays tonight at first base that most people don't make. That's kind of what I dwell on. We don't ever take for granted what he's been doing.”