fix bug in mysql adapter