| 831 | } |
| 832 | |
| 833 | void queryDatabaseOne(bool getPosition) |
| 834 | { |
| 835 | using namespace ::Database; |
| 836 | if (getPosition) |
| 837 | getDatabasePosition(); |
| 838 | |
| 839 | if (Search::Threads.dbStorage()) { |
| 840 | DBClient dbClient(*Search::Threads.dbStorage(), RECORD_MASK_ALL); |
| 841 | DBRecord record; |
| 842 | if (dbClient.query(*board, options.rule, record)) |
| 843 | MESSAGEL("DATABASE ONE " << int(record.label) << ' ' << record.value << ' ' |
| 844 | << record.depth() << ' ' << int(record.bound()) << ' ' |
| 845 | << record.displayLabel()); |
| 846 | else |
| 847 | MESSAGEL("DATABASE ONE 0 0 0 0"); |
| 848 | } |
| 849 | } |
| 850 | |
| 851 | void queryDatabaseText(bool getPosition) |
| 852 | { |
no test coverage detected