NEW YORK – Chase Anderson pitched seven shutout innings and the Brewers benefited – temporarily, anyway – when a Milwaukee bat boy bumped into Mets infielder Wilmer Flores on a foul popup Thursday in a 2-1 victory against New York.

The kooky play came in the fourth inning with the Brewers ahead 2-0 after they loaded the bases with one out.

Eric Sogard lofted a popup and Flores gave frantic chase along the railing of Milwaukee’s third-base dugout. A bat boy carrying a metal stool tried to dodge him and slide past, but nicked Flores’ arm and the ball dropped.

Umpires originally called Sogard out for interference but quickly huddled and reversed their ruling. Mets Manager Terry Collins bolted from the bench, argued with crew chief Fieldin Culbreth and was ejected.

Sogard then hit into a double play.

CARDINALS 2, DODGERS 0: Adam Wainwright hit a two-run homer off Brandon McCarthy and pitched six innings of four-hit ball, leading St. Louis at home for a four-game split.

DIAMONDBACKS 3, MARLINS 2: Zack Greinke allowed one earned run in seven innings to earn his seventh victory, and visiting Arizona rallied to snap Miami’s four-game winning streak.

AMERICAN LEAGUE

INDIANS 8, ATHLETICS 0: Corey Kluber pitched six shutout innings and struck out 10 in his first start since May 2 and Cleveland scored four runs in the sixth inning – when the outfield sprinklers turned on – to win at home.

YANKEES 12, BLUE JAYS 2: CC Sabathia won his fourth consecutive start, Aaron Hicks had a career-high six RBI and Gary Sanchez homered twice for New York at Toronto.

INTERLEAGUE

ROCKIES 6, MARINERS 3: Mark Reynolds and Nolan Arenado homered to back Kyle Freeland, and Colorado won at Seattle.

NOTES

METS: The ever-smiling Mr. Met mascot was back, a day after the person inside the big-headed costume was caught on video making an obscene gesture to a fan. The Mets said a different person was doing Mr. Met duty.

MARLINS: The team established a trust fund for the mother and 3-month-old daughter of its late ace, Jose Fernandez.

MARINERS: Shortstop Jean Segura and designated hitter Nelson Cruz both left the loss to Colorado with injuries the club hopes turn out to be minor. Updates are expected Friday.

DIAMONDBACKS: Center fielder Gregor Blanco left the game at Miami because of a jammed left thumb.