minor mysql wrapper changes