fix crash when connect to mysql4.1

for #113