SQLTxnFailure

Last Updated2014-12-15
Created At2014-06-07

Callback for a failed transaction.

void (Database db, any data, int numQueries, const char[] error, int failIndex, any[] queryData)

Parameters

Database handle.
any data
Data value passed to SQL_ExecuteTransaction().
int numQueries
Number of queries executed in the transaction.
const char[] error
Error message.
int failIndex
Index of the query that failed, or -1 if something else.
any[] queryData
An array of each data value passed to SQL_AddQuery().

Return Value

void