| 1213 | } |
| 1214 | |
| 1215 | static PyObject * |
| 1216 | txn_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 | |
| 1230 | static PyObject * |
| 1231 | construct_cursor(PyObject *self, PyObject *args) |
no test coverage detected