| 146 | } |
| 147 | |
| 148 | std::vector<ConnectionPoolWithFailover::TryResult> ConnectionPoolWithFailover::getManyForTableFunction( |
| 149 | const ConnectionTimeouts & timeouts, |
| 150 | const Settings & settings, |
| 151 | PoolMode pool_mode) |
| 152 | { |
| 153 | TryGetEntryFunc try_get_entry = [&](const NestedPoolPtr & pool, std::string & fail_message) |
| 154 | { |
| 155 | return tryGetEntry(pool, timeouts, fail_message, settings); |
| 156 | }; |
| 157 | |
| 158 | return getManyImpl(settings, pool_mode, try_get_entry); |
| 159 | } |
| 160 | |
| 161 | std::vector<ConnectionPoolWithFailover::TryResult> ConnectionPoolWithFailover::getManyChecked( |
| 162 | const ConnectionTimeouts & timeouts, |