| 849 | } |
| 850 | |
| 851 | void queryDatabaseText(bool getPosition) |
| 852 | { |
| 853 | using namespace ::Database; |
| 854 | if (getPosition) |
| 855 | getDatabasePosition(); |
| 856 | |
| 857 | if (Search::Threads.dbStorage()) { |
| 858 | DBClient dbClient(*Search::Threads.dbStorage(), RECORD_MASK_ALL); |
| 859 | DBRecord record; |
| 860 | if (dbClient.query(*board, options.rule, record) && !record.isNull()) |
| 861 | MESSAGEL("DATABASE TEXT " << std::quoted(UTF8ToConsoleCP(record.comment()))); |
| 862 | else |
| 863 | MESSAGEL("DATABASE TEXT \"\""); |
| 864 | } |
| 865 | } |
| 866 | |
| 867 | void editDatabaseTVD() |
| 868 | { |
no test coverage detected