Update MySQL_wrapper.class.php

query error logging bug