Bugfix:
- fixed 2 places where MySQL specific methods were used which can lead to errors.