(self)
| 1144 | raise exceptions.InterfaceError('pool is closed') |
| 1145 | |
| 1146 | def _drop_statement_cache(self): |
| 1147 | # Drop statement cache for all connections in the pool. |
| 1148 | for ch in self._holders: |
| 1149 | if ch._con is not None: |
| 1150 | ch._con._drop_local_statement_cache() |
| 1151 | |
| 1152 | def _drop_type_cache(self): |
| 1153 | # Drop type codec cache for all connections in the pool. |
no test coverage detected