in reply to Sharing DBI handle per each thread
Is that impossible?
Straight outta the DBI docs:
Because of this (possibly temporary) restriction, newly created + threads must make their own connctions to the database. Handles can't b +e shared across threads.
You should probably perldoc DBI and search for the section on threads and thread safety. Note that the documentation's last word on the subject is, "Using DBI with perl threads is not yet recommended for production environments."
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sharing DBI handle per each thread
by jdtoronto (Prior) on Aug 19, 2003 at 02:22 UTC |