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

Function txn_abort

python/src/python.cc:1200–1213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1198}
1199
1200static PyObject *
1201txn_abort(UpsTransaction *self, PyObject *args)
1202{
1203 if (!PyArg_ParseTuple(args, ":txn_abort"))
1204 return (0);
1205
1206 ups_status_t st = ups_txn_abort(self->txn, 0);
1207 if (st)
1208 THROW(st);
1209
1210 self->txn = 0;
1211 PyObject_Del(self);
1212 return (Py_BuildValue(""));
1213}
1214
1215static PyObject *
1216txn_commit(UpsTransaction *self, PyObject *args)

Callers 2

executeMethod · 0.85
executeMethod · 0.85

Calls 1

ups_txn_abortFunction · 0.85

Tested by

no test coverage detected