Hi Steffen, I will try out the code later this evening and let you know.
Cheers, Jeff ----- Original Message ----- From: Steffen Goeldner <[email protected]> To: Jeff Picklyk Cc: [email protected] <[email protected]>; Adam Kawecki Sent: Wed Sep 02 10:01:21 2009 Subject: Re: DBD-ADO ithread safety Jeff Picklyk wrote: > I am trying to use the DBD-ADO module with iThreads and keep getting > errors when running the executable that ADO has no driver CLONE() > function so is unsafe threaded. I was hoping to use ADO connection > methods in my application and it does not appear that this is going to > be possible when using iThreads. Is there any further updates coming to > the ADO driver that will fix this or am I not using it properly? When > not using threads I have no issues with the database connection code. > For threading I am attempting to create a new connection per thread. I'm currently somewhat stalled on the project, but the fix seems easy: <http://search.cpan.org/~timb/DBI-1.609/lib/DBI/DBD.pm#The_CLONE_special_subroutine> Jeff, do you think you could insert this short snippet into your DBD::ADO and tell us if it works for you? Thanks in advance, Steffen --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
