Fixes #1200 question, questionsessions and spamlog doen't set the right ...

...charset

Fixes #1200
Semicolons are optional at the end of single MySQL queries.