Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: DBI Prematurely Disconnecting

by perldc (Initiate)
on Oct 14, 2013 at 15:40 UTC ( #1058195=note: print w/ replies, xml ) Need Help??


in reply to Re^4: DBI Prematurely Disconnecting
in thread DBI Prematurely Disconnecting

That is true which is why I also tested with only select and update. Originally it was doing:

Select * from tempTable; Update tempTable set done=1 where id=1; Update tempTable set done=1 where id=2; --connection gets broken
now with more results it executes fully:
Select * from tempTable; Update tempTable set done=1 where id=1; Update tempTable set done=1 where id=2; Update tempTable set done=1 where id=3; Update tempTable set done=1 where id=4; Update tempTable set done=1 where id=5;
In the stored procedure the updates are within a while loop that generates the id so in this case no additional print or raiserror was being used.


Comment on Re^5: DBI Prematurely Disconnecting
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-09-21 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (175 votes), past polls