| 47 | namespace { // anonymous |
| 48 | |
| 49 | std::string getTestConnBase() |
| 50 | { |
| 51 | std::string s; |
| 52 | if ( ! testDbPort.empty() ) |
| 53 | s += " port='" + testDbPort + "'"; |
| 54 | if ( ! testDbHost.empty() ) |
| 55 | s += " host='" + testDbHost + "'"; |
| 56 | if ( ! testDbUser.empty() ) |
| 57 | s += " user='" + testDbUser + "'"; |
| 58 | return s; |
| 59 | } |
| 60 | |
| 61 | |
| 62 | std::string getConnectionString(const std::string& dbname) |
no test coverage detected