On Tue, Dec 03, 2002 at 03:47:29PM -0500, Trey Gregory wrote: > Here is a short example. Short overview is: main connects, queries, then spawns >thread (test_thread) which creates a new connection and attempts to query. The error >received is: > > thread failed to start: DBD::ODBC::dr connect failed: handle 1 is owned by thread >15d6d7c not current thread 32c814c (handles can't be shared between threads and your >driver may need a CLONE method ad > ded) at D:/perl/site/lib/DBI.pm line 503.
Looks like DBD::ODBC doesn't have a CLONE method to clear out the driver handle in the new thread. So the new thread tries to use the inherited driver handle. Try version 0.45_18. Tim.