Anderson (2-0), in his second start since returning from Tommy John surgery in July 2011, retired the first 13 batters until Michael Brantley was ruled safe with an infield hit in the fifth inning.
Television replays showed that umpire Jerry Meals missed the call.
Cardinals 4, Pirates 3 — Matt Holliday hit a tiebreaking home run and Kyle Lohse won his eighth consecutive decision, leading visiting St. Louis.
Holliday led off the sixth inning with his 24th homer, a drive to right field off A.J. Burnett that put St. Louis ahead for good at 3-2.
Reds 3, Diamondbacks 2 — Bronson Arroyo pitched six strong innings and homered in the sixth inning for the go-ahead run as visiting Cincinnati gave manager Dusty Baker his 400th win with the club.