Tony Campana's RBI single gave the Diamondbacks a 6-5 victory over the San Francisco Giants in a 10-inning, 4-hour, 10-minute game on Thursday night at AT&T Park.

Campana dropped a single into short right field to score Cliff Pennington and give the Diamondbacks their first series victory this season. They improved to 4-8 overall and finished the road trip with a 3-3 record.

Diamondbacks RHP Randall Delgado had his second short outing in as many starts, lasting just 3 1/3 innings and giving up three runs on six hits and three walks. He gave up six runs in four-plus innings in his first start of the season on Friday in Colorado.

Delgado's last hurrah?: With the Diamondbacks preparing to move reliever Josh Collmenter into the rotation, Delgado's start on Thursday might have been his last.

Delgado didn't make a convincing case to remain a starter. After a perfect first inning, he had to pitch out of trouble the rest of the night.

Another blown lead: Looking to protect a 4-3 lead in the fifth, Diamondbacks reliever Oliver Perez issued a one-out walk to Pablo Sandoval, at which point manager Kirk Gibson went to the right-handed Will Harris to face three consecutive righties in the Giants' lineup — Buster Posey, Hunter Pence and Michael Morse.