diff options
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 2cad2a094..4a8719c6b 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -1502,6 +1502,7 @@ class Engine(Connectable, log.Identified): """ self.pool.dispose() + self.pool = self.pool.recreate() def _execute_default(self, default): with self.contextual_connect() as conn: |