From: Warren Young Date: March 6 2006 4:25pm Subject: Re: Transaction class design in Wishlist List-Archive: http://lists.mysql.com/plusplus/5528 Message-Id: <440C625C.5040708@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Pedro LamarĂ£o wrote: > > My suggestion is to not "commit on destruction" like described above. > A transaction should not be committed if an exception is raised; it > should be rolled back. Good point. I'll keep it in mind.