debug myisam mi_write error path