Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-09-17 01:56:23 +0200
committerDan McGee <dan@archlinux.org>2007-09-16 20:10:18 -0500
commit046c8a6819a0533fb10434f30100f80bb960fe46 (patch)
treee73f29a2f4816c3767933fba644362d9f6a9c75f /lib/libalpm/db.c
parent7daf5a038d3750eacf92b819206cae6b77a73042 (diff)
Remove the DB consistency check from pacman and libalpm.
This reverts commit dfc85cb5f516ffbcff557522e9703c5c7d88b047 and b6f3fe6957d0206485eac98fb2120578b75d0058. This DB check is already in testdb (among others). Also testdb now uses the db path set at make time by default, so specifying the db path is optional. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 09e146e6..61c74a77 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -420,19 +420,6 @@ alpm_list_t SYMEXPORT *alpm_db_getgrpcache(pmdb_t *db)
return(_alpm_db_get_grpcache(db));
}
-/** Tests a database
- * @param db pointer to the package database to search in
- * @return the list of problems found on success, NULL on error
- */
-alpm_list_t SYMEXPORT *alpm_db_test(pmdb_t *db)
-{
- /* Sanity checks */
- ASSERT(handle != NULL, return(NULL));
- ASSERT(db != NULL, return(NULL));
-
- return(_alpm_db_test(db));
-}
-
/** Searches a database
* @param db pointer to the package database to search in
* @param needles the list of strings to search for