yhat / db.py

db.py is an easier way to interact with your databases
BSD 2-Clause "Simplified" License
1.22k stars 111 forks source link

Enable autocommit by default for mysql #54

Closed bjcohen closed 9 years ago

bjcohen commented 9 years ago

This disables unintuitive behavior whereby SELECTs are cached over the lifetime of a session. (Presumably the lack of autocommit would also break anything that modified the database as well but I have not tested that.)

glamp commented 9 years ago

thanks