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

Function txn_commit

python/src/python.cc:1215–1228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1213}
1214
1215static PyObject *
1216txn_commit(UpsTransaction *self, PyObject *args)
1217{
1218 if (!PyArg_ParseTuple(args, ":txn_commit"))
1219 return (0);
1220
1221 ups_status_t st = ups_txn_commit(self->txn, 0);
1222 if (st)
1223 THROW(st);
1224
1225 self->txn = 0;
1226 PyObject_Del(self);
1227 return (Py_BuildValue(""));
1228}
1229
1230static PyObject *
1231construct_cursor(PyObject *self, PyObject *args)

Callers 4

executeMethod · 0.85
executeMethod · 0.85
closeMethod · 0.85

Calls 1

ups_txn_commitFunction · 0.85

Tested by

no test coverage detected