Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: DBD::Sybase::db prepare failed after nth iteration

by mpeppler (Vicar)
on Nov 16, 2007 at 15:55 UTC ( [id://651247]=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBD::Sybase::db prepare failed after nth iteration
in thread DBD::Sybase::db prepare failed after nth iteration

OK - so that means that DBD::Sybase is trying to open a new connection. Is that done on purpose?

If that's NOT the case then you should make sure that any $sth really go out of scope or are cleaned up before executing the next call. Maybe consider using the syb_no_child_con option to make sure that DBD::Sybase doesn't attempt to open a second connection if there is already an "active" statement handle on the current $dbh.

Michael

  • Comment on Re^3: DBD::Sybase::db prepare failed after nth iteration

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-20 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found