Kbase P98842: If you lock a record in one buffer, is it locked no matter what other buffer you access it with?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/01/2005 |
|
Status: Unverified
GOAL:
If you lock a record in one buffer, is it locked no matter what other buffer you access it with?
GOAL:
Is the lock status an attribute of the record or an attribute of the buffer?
FIX:
Yes, If you lock a record in one buffer, it is locked no matter what other buffer you access it with.
The database contains one instance of a record and locks are applied to that record.
In the 4gl runtime, there is a copy of the record in an internal buffer, called an ICB.
The ICB is filled when a record is fetched from the database or when one is created in the application.
The 4GL program's buffers point to an ICB, but more than one buffer can point to the same ICB when they refer to the same record.
See Solution P98843 "What is an ICB?"
See Solution P98844 "What is an IC?"
See also the -brl Startup Parameter Option.