| 275 | } |
| 276 | |
| 277 | void DBsqliteKV::delete_db(const std::string &path) { |
| 278 | auto ep = platform::expand_path(path); |
| 279 | std::remove((ep + ".sqlite").c_str()); |
| 280 | std::remove((ep + ".sqlite-journal").c_str()); |
| 281 | } |
| 282 | void DBsqliteKV::backup_db(const std::string &path, const std::string &dst_path) { |
| 283 | throw platform::sqlite::Error("SQlite backed does not support hot backup - stop daemons, then copy database"); |
| 284 | /* bool src_created = false; |
nothing calls this directly
no test coverage detected