PA_UnlockDatabase


version 2003


PA_UnlockDatabase

Parameter Type Description
This command does not require any parameters

Description

The routine PA_UnlockDatabase unlocks the current database.

PA_UnlockDatabase

must be called once PA_LockDatabase has been called and there has been log activity.

NOTE

A call to PA_LockDatabase must be "closed" by a call to PA_UnlockDatabase . If this is not done, the database will stay locked.

Example

Lock-unlock the database.

   PA_LockDatabase();
   /* . . . do some log actions . . . */
   PA_UnlockDatabase();

See Also

PA_LockDatabase .

Error Handling

PA_GetLastError

always returns eER_NoErr