in reply to DBI (Prepare once execute many fails)
Unfortunately I have to disagree a bit with the other posters. It is not necessary to call $sth->finish() and if you find it so I suspect it is due to an old version of the DBD::ODBC module. I had the same problem earlier this year and reported it on the DBI-users mailing list. The author of DBI had this reply. The problem was fixed in subsequent releases of DBD::ODBC (1.02 and onwards).
So, if you see this problem you should upgrade DBD::ODBC. If you are running ActivePerl you can do so by going to a command line and typing:
ppm install ftp://ftp.esoftmatic.com/outgoing/DBI
(My memory might be off, but I think you might need a .ppd on the end of that -- not sure). Hope this helps!
-Tats
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI (Prepare once execute many fails)
by Itatsumaki (Friar) on Jun 06, 2003 at 16:12 UTC | |
by Grygonos (Chaplain) on Jun 06, 2003 at 17:00 UTC | |
by runrig (Abbot) on Jun 06, 2003 at 21:25 UTC | |
by Itatsumaki (Friar) on Jun 06, 2003 at 18:41 UTC |