Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Drop conflicts tables from local.sqlite
Baptiste Daroussin committed 14 years ago
commit 0e17ddae5acaff62cb70c64e01f16f6831c2c81c
parent d1f5c02
2 files changed +4 -1
modified libpkg/db_upgrades.h
@@ -116,6 +116,9 @@ static struct db_upgrades {
	{7,
	"CREATE INDEX deporigini on deps(origin);"
	},
+
	{8,
+
	"DROP TABLE conflicts;"
+
	},

	/* Mark the end of the array */
	{ -1, NULL },
modified libpkg/pkgdb.c
@@ -23,7 +23,7 @@
#include "pkg_util.h"

#include "db_upgrades.h"
-
#define DBVERSION 7
+
#define DBVERSION 8

static struct pkgdb_it * pkgdb_it_new(struct pkgdb *, sqlite3_stmt *, int);
static void pkgdb_regex(sqlite3_context *, int, sqlite3_value **, int);