Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 musing on the Monastery: (12)
As of 2015-07-01 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (19 votes), past polls