(self)
| 1793 | self._stmt_cache.clear() |
| 1794 | |
| 1795 | def _drop_global_statement_cache(self): |
| 1796 | if self._proxy is not None: |
| 1797 | # This connection is a member of a pool, so we delegate |
| 1798 | # the cache drop to the pool. |
| 1799 | pool = self._proxy._holder._pool |
| 1800 | pool._drop_statement_cache() |
| 1801 | else: |
| 1802 | self._drop_local_statement_cache() |
| 1803 | |
| 1804 | def _drop_local_type_cache(self): |
| 1805 | self._protocol.get_settings().clear_type_cache() |
no test coverage detected