Fix mysqldb bugs
Merge pull request #216 from combro2k/release-1.10

Fix mysqldb bugs
Merge pull request #228 from danielepantaleone/release-1.10

Minor fix in XLRstats plugin