[Gravity] Fix connect on destruct for the MySQL Connection class

Review Request #100 — Created June 7, 2013 and submitted — Latest diff uploaded

pprkut
Lunr
master
lunr
When destructing the MySQL connection class, if it didn't connect or is no longer connected, calling rollback() results in a reconnect (that disconnects again the statement after).
Pointless waste of resources.
Unit Tests
Loading...