dbTalk Databases Forums  

VFP 6: Transaction Problems

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP 6: Transaction Problems in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP 6: Transaction Problems - 09-21-2005 , 06:43 PM






I have two sessions of my app running. In the first one, I have
started a transaction and have read a row for editing. In the second
one, I then try the same. An error 109 (Record is in use by another
user.) is thrown. This is what I expected.

To figure out how things work, I then retry. As far as I can
tell, the error should happen again (and again and again). It does
not. In fact, if I proceed to change the row and save, the changes
take! This is in spite of the fact that the other session started a
transaction and has touched that record. My understanding is that the
record should be inaccessible to the second session while the first
session has a transaction open.

Yes, I do have the tables in a .dbc.

What is actually going on, please?

Sincerely,

Gene Wirchenko


Reply With Quote
  #2  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 6: Transaction Problems - 09-21-2005 , 07:16 PM






On Wed, 21 Sep 2005 16:43:24 -0700, Gene Wirchenko
<genew (AT) ucantrade (DOT) com.NOTHERE> wrote:

Quote:
I have two sessions of my app running. In the first one, I have
started a transaction and have read a row for editing. In the second
one, I then try the same. An error 109 (Record is in use by another
user.) is thrown. This is what I expected.

To figure out how things work, I then retry. As far as I can
tell, the error should happen again (and again and again). It does
not. In fact, if I proceed to change the row and save, the changes
take! This is in spite of the fact that the other session started a
transaction and has touched that record. My understanding is that the
^^^^^^^
To clarify, at this point, the first session has not changed the
record.

Quote:
record should be inaccessible to the second session while the first
session has a transaction open.

Yes, I do have the tables in a .dbc.

What is actually going on, please?
Sincerely,

Gene Wirchenko



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.