DBtransactionRollback

Top  Previous  Next

Declining make to a change.

Moskito puts in to every Workfile *.wf a transaction log *.tr. In this file all changes in the Workfile are carried along. As soon as a transaction is finished, the log file is physically written. After successful securing of the Workfiles at the end of a Moskito's meeting the log file is removed. If Moskito hits by the start on an available log file, Moskito has broken off before. And the Workfileinhalt is reconstructed with the help of the last valid transaction. Every transaction can be cancelled about access functions and be restored.

With this function an implementation can be cancelled, but only if it was also taken down.

Parametre

root (PROOT) [IN]

Act on the open data bank.

level (int) [IN]

level gives the level of the transaction calls. If of the last change should be cancelled, the call of DBtransactionLevel reaches.

verbose (int) [IN]

With verbose immediately TRUE the issue is switched on, switched off but.

Result

(long int) [OUT]

Delivers TRUE if the last change could be cancelled.

Declaration

#include "database.h"

 

long int DLLENTRY DBtransactionRollback (

PROOT root,

int level,

int verbose

);

Related functions

DBtransactionData

DBtransactionEnd

DBtransactionLevel

DBtransactionStart

DBtransactionRollforward

DBtransactionSetUndoImpossible