OAKLAND — Leonys Martin homered in the top of the 10th inning as the Seattle Mariners rallied from a four-run deficit to defeat the Oakland Athletics 7-6 on Tuesday night.

Martin hit a high arcing shot to right off a 2-1 94 mph fastball from Josh Smith (2-0) with two outs. His second home run of the season pushed the Mariners’ record on their nine-game road trip to 5-3.

Tony Zynch pitched out of a jam in the bottom of the 10th for his second save.

Marc Rzepczynski (2-0) pitched a scoreless inning in the bottom of the ninth.

The A’s had runners at first and second with one out but Zynch struck out Chad Pinder swinging and got Matt Chapman to fly out to right.

Smith was the seventh reliever manager Bob Melvin summoned in relief of Kendall Graveman, who was making his second start after being on the disabled list with a strained right shoulder. Graveman gave up four runs (three earned) and seven hits in 5⅓ innings.

Khris Davis was 2 for 4 with a home run (his 30th), a triple and four RBIs and Ryon Healy had three hits including a solo home run — his 21st — as the A’s took a 6-2 lead into the sixth inning.

Oakland’s gaffe-prone defense figured prominently in the meltdown, committing three errors that led to two unearned runs.

Ben Gamel went to second on rookie third baseman Chapman’s throwing error leading off the eighth inning. Gamel went to third on Jarrod Dyson’s infield grounder and scored on pinch-hitter Danny Valencia’s sacrifice fly.

Gamel was 2 for 5 with a two-run double.

The A’s lead the majors with 95 errors and 70 unearned runs allowed.

Seattle was 2-44 when trailing after seven innings going into Tuesday.

DIG THIS

Less than two days after being traded to the Mariners, All-Star first baseman Yonder Alonso debuted with his new team in his old digs. “We wish him the best,” Melvin said. “He was very impactful with this club not only on the field but in the clubhouse.”

TRAINER’S ROOM

Athletics: C Josh Phegley (left oblique strain) took swings off a tee on Tuesday. He’s been out since July 25. ... OF Jake Smolinski (right shoulder surgery) is with the team and will soon go on a rehab assignment as a DH, Melvin said.

NCS BASKETBALL RESULTS AND SCHEDULE

Semifinal playoff schedule
for Redwood Empire teams:

GIRLS

Wednesday’s results
(seedings in parentheses)

DIVISION 2
(2) Montgomery 53, (3) Acalanes 50

DIVISION 4
(1) Cardinal Newman 74, (5) Marin Catholic 34

DIVISION 5
(4) Urban 61, (8) Clear Lake 51

DIVISION 6
(1) Rincon Valley Christian 46, (12) El Sobrante 38

(2) Mendocino 58, (3) Emery 34

Saturday’s games

DIVISION 2
at St. Mary’s College
(2) Montgomery vs. (1) Miramonte, 6 p.m.

DIVISION 4
at Elsie Allen High School
(1) Cardinal Newman vs. (2) St. Joseph Notre Dame, 7 p.m.

DIVISION 6
at Rincon Valley Christian
(1) Rincon Valley Christian vs. (2) Mendocino, 7 p.m.

BOYS

Wednesday’s results

DIVISION 2
(6) Tamalpais 57, (7) Montgomery 48

DIVISION 3
(2) Campolindo 49, (3) Analy 40

DIVISION 6
(1) Rio Lindo Adventist 51, (4) Rincon Valley Christian 43
(2) California School for the Deaf 72, (3) Laytonville 49

Saturday’s game

DIVISION 6
at Rio Lindo Adventist
(1) Rio Lindo Adventist vs. (2) California School for the Deaf, 7:30 p.m.