version tested: SQLAlchemy 0.5.0rc1
I use engine like this, I set pool_size=0,
engine = create_engine('mysql://root:password@localhost/test', pool_size=0, max_overflow=2, echo=True)
I like the behavior will be: establish a connection with mysql when I need it and release all connections when I close all sessions. I don't need the pool to keep "sleeping" connetions.
but it sames that all the two connections don't release at all.
If I set pool_size >= 1, the pool works correctly.
Is it a bug or not?