SQLDBC::Connection::commit

Prototypes

SQLDBC_Retcode SQLDBC::Connection::commit(void);

Description

Valide la transaction associée à la connexion courante.

Le résultat est SQLDBC_OK en cas de succès.

Exemple

#include <SQLDBC.h>

static SQLDBC_Connection *hConnexion;

...
if (hConnexion->rollback()!=SQBDBC_OK)
...
if (hConnexion->commit()!=SQBDBC_OK)
...

Voir aussi

SQLDBC::Connection::rollback pour invalider la transaction.