Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions database/src/pool/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ impl Connection for SqliteConnection {
let count = self
.raw_ref()
.execute(
"update pull_request_build SET complete = 1 where sha = ? and complete = 0",
"update pull_request_build SET complete = 1 where bors_sha = ? and complete = 0",
params![sha],
)
.unwrap();
Expand All @@ -977,8 +977,8 @@ impl Connection for SqliteConnection {
assert_eq!(count, 1, "sha is unique column");
self.raw_ref()
.query_row(
"select pr, sha, parent_sha, include, exclude, runs, commit_date, backends from pull_request_build
where sha = ?",
"select pr, bors_sha, parent_sha, include, exclude, runs, commit_date, backends from pull_request_build
where bors_sha = ?",
params![sha],
|row| {
Ok(QueuedCommit {
Expand Down
Loading