cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Would a database client using tcp/ip recognize if the packet transmitting the commit command to the server is lost?

View Entire Topic
Former Member

It won't recognize this particular failure, because TCP will provide packet recovery as Breck has mentioned. Assuming TCP isn't able to recover and resend the packet, the client libraries should return a communication error (-85):

Communication error

Other failures for a commit should also be surfaced as an error. Ultimately, if the call making a commit returns without an error code, the commit should succeed.