| 162 | } |
| 163 | |
| 164 | std::vector<ConnectionPoolWithFailover::TryResult> ConnectionPoolWithFailover::getManyChecked( |
| 165 | const ConnectionTimeouts & timeouts, |
| 166 | const Settings * settings, PoolMode pool_mode, |
| 167 | const QualifiedTableName & table_to_check) |
| 168 | { |
| 169 | TryGetEntryFunc try_get_entry = [&](NestedPool & pool, std::string & fail_message) |
| 170 | { |
| 171 | return tryGetEntry(pool, timeouts, fail_message, settings, &table_to_check); |
| 172 | }; |
| 173 | |
| 174 | return getManyImpl(settings, pool_mode, try_get_entry); |
| 175 | } |
| 176 | |
| 177 | ConnectionPoolWithFailover::Base::GetPriorityFunc ConnectionPoolWithFailover::makeGetPriorityFunc(const Settings * settings) |
| 178 | { |
no outgoing calls
no test coverage detected