savepointRollback method
Rolls back to a savepoint. The transaction remains active.
The txnId must be a valid transaction identifier.
Returns true on success, false on failure.
Implementation
bool savepointRollback(int txnId, String name) {
final namePtr = name.toNativeUtf8();
try {
return _bindings.odbc_savepoint_rollback(
txnId,
namePtr.cast<bindings.Utf8>(),
) ==
0;
} finally {
malloc.free(namePtr);
}
}