Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Can i execute two queries connecting to same DB at a time.

by Corion (Pope)
on May 07, 2009 at 07:02 UTC ( #762502=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Can i execute two queries connecting to same DB at a time.
in thread Can i execute two queries connecting to same DB at a time.

What part of Connection is busy with result and my reply:

you still have a statement handle open and did not ->finish() it before trying to issue another SQL statement
is giving you problems?

Your code is opening a second SQL statement before retrieving all results from the first SQL statement. This does not work for your combination of database, OS and DBD.


Comment on Re^4: Can i execute two queries connecting to same DB at a time.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2014-09-17 17:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (92 votes), past polls