Blog Archives

[ Solved ] DB->get: method not permitted before handle’s open method

Was writing a very simple program on BerkeleyDB as below #include < db.h > int main(int argc, char *argv[]) { DB *dbp = NULL; int ret = 0; ret = db_create(&dbp, NULL, 0) ret = dbp->open(dbp, NULL, “my_db.db”, NULL, DB_TREE,

Tagged with: , , , , , , , , , , , , , ,
Posted in computer, debug, troubleshoot