From: Warren Young Date: March 27 2010 4:27am Subject: Re: Connection copy-constructor segfault? List-Archive: http://lists.mysql.com/plusplus/8913 Message-Id: <4BAD893E.9000708@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 3/26/2010 8:21 PM, Jonathan Wakely wrote: > > Don't copy the Connection class. It's supposed to work, but since I don't need it and don't like it -- it's inherently inefficient -- I'm having trouble summoning motivation enough to find out why it doesn't. I'll be happy to review proposed patches to fix the problem, though. Alexander, what semantics are you expecting, exactly? Are you trying to create a second active connection to the DB server identical to the first, or are you passing Connections around by value, so that the old copy just needs to go away? If the latter, there's probably no good reason to do that. If the former, why do you need two simultaneous connections?