Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: DBI and finish (risk of calling finish twice)

by Anonymous Monk
on Jun 26, 2014 at 10:14 UTC ( [id://1091324]=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBI and finish (risk of calling finish twice)
in thread DBI and finish

... cached ... Though it all depends on the actual driver ...

I doubt that :) See inside DBI.pm look for "sub prepare_cached"

  • Comment on Re^3: DBI and finish (risk of calling finish twice)

Replies are listed 'Best First'.
Re^4: DBI and finish (risk of calling finish twice)
by andal (Hermit) on Jun 27, 2014 at 06:22 UTC

    Well, "cached" does not mean only "prepare_cached" :) Whichever caching mechanism is used, prepared statement with unfinished fetch may introduce problems. I guess you've seen the description of $if_active flag for DBI::prepare_cached :) That is why, calling finish in this case might be important.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1091324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found