fix sql batch statements for mysql.