Mission Base

Program Base Library Functions

int pblIsamCommit

( int nfiles, pblIsamFile_t** isamfiles,
  int rollback )

commit or roll back changes done during a transaction

Documentation

commit or roll back changes done during a transaction

transactions can be nested, if so the commit only happens when the outermost transaction calls a commit.

the commit only happens to process space buffer cache, call pblIsamFlush() after pblIsamCommit() if you want to flush to kernel space buffer cache.

Parameters:
nfiles - number of files in ISAM file list
isamfiles - ISAM file list to commit changes of
rollback - != 0: roll back the changes, == 0: commit the changes
Returns:
int rc == 0: the commit went OK
int rc > 0: a roll back happened, either because the caller requested it or because an inner transaction resulted in a roll back
int rc < 0: some error, see pbl_errno

Alphabetic index



This page was generated with the help of DOC++.