Unclosed switch in mysqladapter