MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / abort

Method abort

java/java/de/crupp/upscaledb/Transaction.java:50–58  ·  view source on GitHub ↗

Aborts the Transaction This method wraps the native ups_txn_abort function. More information: C documentation

()

Source from the content-addressed store, hash-verified

48 * More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__txn.html#ga3a1c2a2a3efa859f9966f53d019598c9">C documentation</a>
49 */
50 public void abort()
51 throws DatabaseException {
52 if (m_handle == 0)
53 return;
54 int status = ups_txn_abort(m_handle, 0);
55 if (status != 0)
56 throw new DatabaseException(status);
57 m_handle = 0;
58 }
59
60 /**
61 * Commits the Transaction

Callers 4

testBeginAbortMethod · 0.95
testBeginInsertAbortMethod · 0.95
testBeginEraseAbortMethod · 0.95
finalizeMethod · 0.95

Calls 1

ups_txn_abortMethod · 0.95

Tested by 3

testBeginAbortMethod · 0.76
testBeginInsertAbortMethod · 0.76
testBeginEraseAbortMethod · 0.76