Lines Matching refs:db_path
389 static string db_path; variable
473 case 'd': db_path = string(arg); break; in parse_opt()
2871 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size in thread_main_scanner()
3151 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size in groom()
3289 db_path = string(getenv("HOME") ?: "/") + string("/.debuginfod.sqlite"); /* XDG? */ in main()
3329 rc = sqlite3_open_v2 (db_path.c_str(), &db, (SQLITE_OPEN_READWRITE in main()
3337 (void) unlink (db_path.c_str()); in main()
3339 "cannot open %s, deleted database: %s", db_path.c_str(), sqlite3_errmsg(db)); in main()
3344 "cannot open %s, consider deleting database: %s", db_path.c_str(), sqlite3_errmsg(db)); in main()
3350 rc = sqlite3_open_v2 (db_path.c_str(), &dbq, (SQLITE_OPEN_READONLY in main()
3358 … "cannot open %s, consider deleting database: %s", db_path.c_str(), sqlite3_errmsg(dbq)); in main()
3362 obatched(clog) << "opened database " << db_path << endl; in main()