Lines Matching defs:db_path
408 static string db_path;
510 db_path = "file::memory:?cache=shared";
512 db_path = string(arg);
3606 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size
3954 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size
4101 db_path = string(getenv("HOME") ?: "/") + string("/.debuginfod.sqlite"); /* XDG? */
4150 rc = sqlite3_open_v2 (db_path.c_str(), &db, (SQLITE_OPEN_READWRITE
4158 (void) unlink (db_path.c_str());
4160 "cannot open %s, deleted database: %s", db_path.c_str(), sqlite3_errmsg(db));
4165 "cannot open %s, consider deleting database: %s", db_path.c_str(), sqlite3_errmsg(db));
4172 rc = sqlite3_open_v2 (db_path.c_str(), &dbq, (SQLITE_OPEN_READONLY
4180 "cannot open %s, consider deleting database: %s", db_path.c_str(), sqlite3_errmsg(dbq));
4184 obatched(clog) << "opened database " << db_path