(self)
| 1018 | raise exceptions.InterfaceError('pool is closed') |
| 1019 | |
| 1020 | def _drop_statement_cache(self): |
| 1021 | # Drop statement cache for all connections in the pool. |
| 1022 | for ch in self._holders: |
| 1023 | if ch._con is not None: |
| 1024 | ch._con._drop_local_statement_cache() |
| 1025 | |
| 1026 | def _drop_type_cache(self): |
| 1027 | # Drop type codec cache for all connections in the pool. |
no test coverage detected