]> git.saurik.com Git - apt.git/blobdiff - ftparchive/cachedb.cc
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid
[apt.git] / ftparchive / cachedb.cc
index e56deae1e7556bebaff869164c8d826d5dd574e9..12eac20d8de24471c6a78d33e32fd3321ab694f0 100644 (file)
 #include <apti18n.h>
                                                                        /*}}}*/
 
+CacheDB::CacheDB(std::string const &DB) 
+   : Dbp(0), Fd(NULL), DebFile(0)
+{
+   TmpKey[0]='\0';
+   ReadyDB(DB);
+};
+
+CacheDB::~CacheDB()
+{
+   ReadyDB();
+   delete DebFile;
+};
+
 // CacheDB::ReadyDB - Ready the DB2                                    /*{{{*/
 // ---------------------------------------------------------------------
 /* This opens the DB2 file for caching package information */