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

Method commit

java/java/de/crupp/upscaledb/Transaction.java:67–75  ·  view source on GitHub ↗

Commits the Transaction This method wraps the native ups_txn_commit function. More information: C documentation

()

Source from the content-addressed store, hash-verified

65 * More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__txn.html#gada266b6c9cdc883b77adf0268129076c">C documentation</a>
66 */
67 public void commit()
68 throws DatabaseException {
69 if (m_handle == 0)
70 return;
71 int status = ups_txn_commit(m_handle, 0);
72 if (status != 0)
73 throw new DatabaseException(status);
74 m_handle = 0;
75 }
76
77 /**
78 * Sets the Transaction handle

Callers 2

testBeginCommitMethod · 0.95
testBeginInsertCommitMethod · 0.95

Calls 1

ups_txn_commitMethod · 0.95

Tested by 2

testBeginCommitMethod · 0.76
testBeginInsertCommitMethod · 0.76