summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-11-01 12:26:54 +0100
committerHelmut Grohne <helmut@subdivi.de>2020-11-01 12:26:54 +0100
commit27cd6b51471a3a14cdaf20aade95ef72339c1b40 (patch)
treefb81deec0408bf52b0f55465c7fd56ac316cb35f
parent85b3a6ad3c31269d1e17d43cc8d7d626c38f4da1 (diff)
downloadcrossqa-27cd6b51471a3a14cdaf20aade95ef72339c1b40.tar.gz
build.py: fix invalid column name
Fixes: f6d219e1a4fd ("add build architecture to schema of depcheck table")
-rwxr-xr-xbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.py b/build.py
index cb370ae..282b94d 100755
--- a/build.py
+++ b/build.py
@@ -116,7 +116,7 @@ def main():
(requestid,))
if giveback:
cur.execute("""UPDATE depcheck SET giveback = 1
- WHERE buildarch = ? AND architecture = ?;""",
+ WHERE buildarch = ? AND hostarch = ?;""",
(buildarch, hostarch,))
finally:
with contextlib.closing(db.cursor()) as cur: