From: Warren Young Date: March 5 2005 7:20am Subject: Re: potential bugs? List-Archive: http://lists.mysql.com/plusplus/4043 Message-Id: <42295DA2.70805@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Rongjun Mu wrote: > Yes. throw BadQuery("lock failed") would be nice. Done. I found some additional lock-handling problems. I added simple fixes for them, but the right thing to do is to create a lock class that you can instantiate on the stack on entry to the function so that it is always destroyed correctly on function exit. I've added this to the Wishlist. > as for #3 and #4, my patch attached. Accepted, with minor changes. Thanks!