Leo Rivas lined a game-ending single in the 10th inning gave the Mariners a 6-5 win in their first game under new manager Dan Wilson.