[Gravity] Fix connect on destruct for the MySQL Connection class
Review Request #100 — Created June 7, 2013 and submitted
| Information | |
|---|---|
| pprkut | |
| Lunr | |
| master | |
| Reviewers | |
| 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
