Fix for segfault in Database::CheckStatus() when using MariaDB.
Merge pull request #81 from vexyl/master

Fix for segfault in Database::CheckStatus() when using MariaDB.