(self)
| 1824 | self._stmt_cache.clear() |
| 1825 | |
| 1826 | def _drop_global_statement_cache(self): |
| 1827 | if self._proxy is not None: |
| 1828 | # This connection is a member of a pool, so we delegate |
| 1829 | # the cache drop to the pool. |
| 1830 | pool = self._proxy._holder._pool |
| 1831 | pool._drop_statement_cache() |
| 1832 | else: |
| 1833 | self._drop_local_statement_cache() |
| 1834 | |
| 1835 | def _drop_local_type_cache(self): |
| 1836 | self._protocol.get_settings().clear_type_cache() |
no test coverage detected