Comment 1 for bug 906183

Revision history for this message
Stephen Hu (goodruck) wrote :

i tried using another mysql driver (mysqldb) to rule out any potential issues with SQLAlchemy and found that the latest version of that exhibits the same behavior. upon realizing this, i started to look into my code and found that SQLAlchemy runs with autocommit=False, which means that you must commit (and close) your connections so i was holding onto connections continuously. setting this to true, each query would result in committing and returning the connection to the pool.

please close this bug.