TORONTO -- With gusty winds knocking down his curveball, A.J. Burnett turned to his change-up and stayed perfect against Baltimore.
Brian Roberts homered for Baltimore, which has lost five straight games at Rogers Centre.
Burnett (7-6) gave up two runs and three hits over 6 1/3 innings, walking three and striking out six while overcoming winds gusting up to 40 miles per hour.
"The wind was really pushing the hook down, so I went with the change-up tonight instead," Burnett said. "I have no idea why the roof was open -- no idea why it's open. It didn't affect too many things, it was just blowing in my face all night."
Burnett has gone 2-0 with a 1.96 ERA in two starts since returning from the disabled list Aug. 12, after missing 37 games with a sore shoulder. He said he's been using the change-up more often.
"I have confidence in it," Burnett said. "Other days, when I'm feeling really good throwing 98, I probably wouldn't throw it as much. But it's good to have that pitch when your curveball is not getting over."
Burnett is 4-0 with a 2.87 ERA in five career starts against Baltimore.
"He's tough," Orioles manager Dave Trembley said. "Once he gets two strikes, he expands his strike zone."
Toronto won for the 12th time in 15 home games.
The Blue Jays gave Burnett all the help he would need with a five-run third in which 11 batters went to the plate.
"We're playing great baseball right now," Thomas said. "The pitching staff has been incredible. If we score four or five runs, we have a chance to win every night."
The homer was Thomas' first since Aug. 4 and ended a 49-inning drought for the Blue Jays. Toronto has hit just five home runs in August, tied with Minnesota for fewest in the American League.
Thomas finished 1-for-3 with two walks and is batting .321 with 19 RBI this month. He is five homers shy of tying Mel Ott (511) for 19th on baseball's career list.
"It's been a long season," Thomas said. "I'm not quitting. I've still got goals, I've still got things I've got to do personally to keep me focussed. I'm one of these guys that always feels I should drive in 100 runs every year. If that's one of those things that keeps me focused, I'm going to stay there."
Making just his fourth major league start, Olson (1-2) allowed five runs and six hits in 3 1/3 innings. He walked four and struck out one.
"He's not showing command of strike one," Trembley said. "He's getting behind. You pitch behind, this is a veteran team here, and you're going to get hurt."
Roberts hit a solo home run in the fifth.
After double-pumping because no one was covering second base, Hernandez hit pitcher Rob Bell in the ribs with his throw as he tried to catch John McDonald stealing on a pitchout in the fifth. Uninjured, Bell couldn't help but smile as he watched the replay on the center field scoreboard.
"It hit me like a midtown Manhattan ATM surcharge," Bell joked. "That stung quite a bit."
- Nick Markakis failed to record an RBI for the first time in 10 games.
- Millar was hit by a pitch in the eighth and has reached base safely in 45 straight games. It's the longest streak by an Oriole since Cal Ripken Jr. reached in 46 straight in 1998. Ken Singleton set the club record by reaching in 49 straight in 1977.
- McDonald singled in the fifth, ending an 0-for-16 slump.