| 1068 | } |
| 1069 | |
| 1070 | void deleteDatabaseOne(bool getPosition) |
| 1071 | { |
| 1072 | using namespace ::Database; |
| 1073 | if (getPosition) |
| 1074 | getDatabasePosition(); |
| 1075 | |
| 1076 | if (Search::Threads.dbStorage() && !Config::DatabaseReadonlyMode) { |
| 1077 | DBClient dbClient(*Search::Threads.dbStorage(), RECORD_MASK_ALL); |
| 1078 | dbClient.del(*board, options.rule); |
| 1079 | } |
| 1080 | } |
| 1081 | |
| 1082 | void searchDefend() |
| 1083 | { |
no test coverage detected