Fixing an error when using mysqli
Include $adapter for mysqli
Merge pull request #18 from bblue/master

Fix issues when using mysqli (if had a semicolon at the end)