Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by mpeppler (Vicar)
on Nov 16, 2007 at 15:55 UTC ( #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
Node Status?
node history
Node Type: note [id://651247]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2020-10-28 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (264 votes). Check out past polls.

    Notices?