qdb_rollback()

Start a transaction

Synopsis:

#include <qdb/qdb.h>

int qdb_rollback(qdb_handle_t *hdl);

Arguments:

hdl
A pointer to the database handle

Library:

qdb

Description:

This function completes a transaction by rolling it back. All changes that the transaction has made up to this point are discarded. It is equivalent to executing: qdb_statement(hdl, "ROLLBACK;");.

Returns:

>0
Success
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes