prevent special version of mysql into outfile
Issue 34 fix infinite loop, add unit test
update