Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove sql_is_rw for db upgrades for now
Baptiste Daroussin committed 14 years ago
commit 5f6750f7f90d882d7fc8a38db0e4a926e7c8e826
parent efce150
1 file changed +2 -2
modified libpkg/pkgdb.c
@@ -240,10 +240,10 @@ pkgdb_upgrade(sqlite3 *sdb)
	}

	while (db_version < DBVERSION) {
-
		if (!sql_is_rw(sdb)) {
+
		/*if (!sql_is_rw(sdb)) {
			pkg_emit_error("The database is outdated and opened readonly");
			return (EPKG_FATAL);
-
		}
+
		}*/
		db_version++;

		i = 0;