auto sql commit