Improve MySQL wrapper speed by function call by reference.