If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > For how long transaction can be opened?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-07, 14:48
avihai avihai is offline
Registered User
 
Join Date: Jul 2003
Posts: 24
For how long transaction can be opened?

Hey,

I want that my client will open a transaction for a non limit time.

Can i confiugre the MySQl to not close open transaction due to timeout?

Thank you
Reply With Quote
  #2 (permalink)  
Old 05-14-07, 03:45
aschk aschk is offline
Registered User
 
Join Date: Mar 2007
Location: 636f6d7075746572
Posts: 770
In what context are you planning on using this technique? Are you using it in a standalone (stateful) program, or are you using it in a stateless environment?
Either way i'm unsure of the answer to your question. Why would you want a transaction to be open permanently? What happens if TCP/IP is interrupted, do you commit or rollback? Why don't you want to commit after each transaction set?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On