Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- From: "fesierra" <fesierra@xxxxxxxxxxx>
- Date: 11 Sep 2006 15:26:58 -0700
Robert:
Thanks for your posting. I tried to put the TCF file in a shared
network folder and
last time I checked, the file was not where I set it up to be. So I
might just first
try to fix that (putting the TCF file as common for the network) and
see if things
improve with that. I tried declaring a string where I stored the
location of the
TCF file and using it in the driver options panel for the file in the
DCT editor. It
does not seem to be working. I will try to find out the correct way to
set it.
Thanks. I will keep you informed of the progress.
Federico
Robert Peros wrote:
"fesierra" <fesierra@xxxxxxxxxxx> wrote in message
Maybe,but LOGOUT is system(driver) state,specialy if network use oneThis is the procedure code. The last ASSERT before the CheckErrorAnd what Assert exactly say in your version of AbFile.clw/source code?
routine is > the one that is failing. Maybe the relations manager is getting
confused?.<cut>
tcf(transaction control file) for a system,and is pretty stable.
From your second post" I am not using LOGOUT here.. I am using
STREAM lock the file while the loop works".
FLUSH(..) like implicite unlock, at end STREAM-ing file,because:
"A variety of data files have been tested extensively for corruption,
and at this time only one problem has been identified with the file driver.
This data corruption occurs if the following code is issued:
STREAM(file)
LOGOUT(1,file)
ROLLBACK"
For the test purpose add AssertCode for check which error are
generated.Basicly for COMMIT you have 2 errors
48 Unable to Log Transaction
91 No Logout Active
RelationManager.Update PROCEDURE(BYTE FromForm)<cut untouched >
IF SELF.UseLogout? ASSERT(~ERRORCODE(),ERRORCODE() & ' Commit err. in '
COMMIT
ASSERT(~ERRORCODE())
& 'RM.UpdateromForm' & THREAD())
<cut untouched >
CheckError ROUTINEIF SELF.UseLogout AND SELF.Me.File{PROP:Logout}
IF RetVal
MESSAGE('CheckError ' & 'RM.' & THREAD())
!ToDo ROLLBACK() !Yet blocked by COMMIT
END
<cut untouched >
R.
.
- Follow-Ups:
- Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- From: jonwaterhouse
- Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- References:
- HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- From: fesierra
- Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- From: Robert Peros
- Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- From: fesierra
- Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- From: fesierra
- Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- From: Robert Peros
- HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- Prev by Date: Re: Using External DLLs
- Next by Date: Firebird Clarion c55pe and lock conflicts
- Previous by thread: Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- Next by thread: Re: HELP!! CLW4: Another question about 'Assertion failed after COMMIT'
- Index(es):
Relevant Pages
|