(self, executor)
| 252 | )) |
| 253 | |
| 254 | async def __do_execute(self, executor): |
| 255 | protocol = self._connection._protocol |
| 256 | try: |
| 257 | return await executor(protocol) |
| 258 | except exceptions.OutdatedSchemaCacheError: |
| 259 | await self._connection.reload_schema_state() |
| 260 | # We can not find all manually created prepared statements, so just |
| 261 | # drop known cached ones in the `self._connection`. |
| 262 | # Other manually created prepared statements will fail and |
| 263 | # invalidate themselves (unfortunately, clearing caches again). |
| 264 | self._state.mark_closed() |
| 265 | raise |
| 266 | |
| 267 | async def __bind_execute(self, args, limit, timeout): |
| 268 | data, status, _ = await self.__do_execute( |
no test coverage detected