remove comments before parse sql statements
fix log number of affected rows when using oracle