Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
The table is called 'pkg_annotation' not 'pkg_annotate'
Matthew Seaman committed 13 years ago
commit 9352f618a38645c8d100abf7fad29ddaa5e09d8b
parent e5381b14f9506aff98e742146412732347988470
1 file changed +1 -1
modified libpkg/pkgdb_repo.c
@@ -157,7 +157,7 @@ static sql_prstmt sql_prepared_statements[PRSTMT_LAST] = {
	},
	[ANNOTATE2] = {
		NULL,
-
		"INSERT OR ROLLBACK INTO pkg_annotate(package_id, tag_id, value_id) "
+
		"INSERT OR ROLLBACK INTO pkg_annotation(package_id, tag_id, value_id) "
		"VALUES (?1,"
		" (SELECT annotation_id FROM annotation WHERE annotation=?2),"
		" (SELECT annotation_id FROM annotation WHERE annotation=?3))",