#1439 user correct column in sql (getTask)
Merged 4 years ago by mikem. Opened 4 years ago by tkopecek.
tkopecek/koji issue1438  into  master

file modified
+1 -1
@@ -11856,7 +11856,7 @@ 

          id = self.id

          #get arch and channel info for host

          q = """

-         SELECT arches FROM host_config WHERE id = %(id)s AND active IS TRUE

+         SELECT arches FROM host_config WHERE host_id = %(id)s AND active IS TRUE

          """

          c.execute(q, locals())

          arches = c.fetchone()[0].split()

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

4 years ago

Hmm, the call is not used. No harm in fixing it I guess.

Commit 210e723 fixes this pull-request

Pull-Request has been merged by mikem

4 years ago