| 9 | namespace processor { |
| 10 | |
| 11 | void UseDatabase::executeInternal(ExecutionContext* context) { |
| 12 | auto dbManager = main::DatabaseManager::Get(*context->clientContext); |
| 13 | dbManager->setDefaultDatabase(dbName); |
| 14 | appendMessage("Used database successfully.", |
| 15 | storage::MemoryManager::Get(*context->clientContext)); |
| 16 | } |
| 17 | |
| 18 | std::string UseDatabasePrintInfo::toString() const { |
| 19 | std::string result = "Database: "; |
nothing calls this directly
no test coverage detected