Skip to content

Commit

Permalink
Fix some SQL: that table has a column named annotation_id, not tag_id.
Browse files Browse the repository at this point in the history
  • Loading branch information
infracaninophile committed Apr 6, 2013
1 parent 9352f61 commit bb00cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpkg/pkgdb.c
Expand Up @@ -2252,7 +2252,7 @@ static sql_prstmt sql_prepared_statements[PRSTMT_LAST] = {
"package_id IN"
" (SELECT id FROM packages WHERE name = ?1 AND version = ?2) "
"AND tag_id IN"
" (SELECT tag_id FROM annotation WHERE annotation = ?3)",
" (SELECT annotation_id FROM annotation WHERE annotation = ?3)",
"TTT",
},
[ANNOTATE_DEL2] = {
Expand Down

0 comments on commit bb00cde

Please sign in to comment.