From 773a8afbba27a5e2e48577100f3ca9873b506615 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Apr 2010 13:53:35 +1000 Subject: tdb: update tdb ABI to use hide_symbols=True We now use -fvisibilty=hidden to hide symbols from outside the tdb shared library. This also moved tdb_transaction_recover() into the tdb_private.h header, as it should never have been a public API. For that reason we are changing the version number. We're only doing a minor version increment as it is extremely unlikely that anyone was actually using tdb_transaction_recover() as its locking requirements were rather unusual. Pair-Programmed-With: Rusty Russell --- lib/tdb/pytdb.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/tdb/pytdb.c') diff --git a/lib/tdb/pytdb.c b/lib/tdb/pytdb.c index 202dca1571..7a9205b815 100644 --- a/lib/tdb/pytdb.c +++ b/lib/tdb/pytdb.c @@ -112,13 +112,6 @@ static PyObject *obj_transaction_commit(PyTdbObject *self) Py_RETURN_NONE; } -static PyObject *obj_transaction_recover(PyTdbObject *self) -{ - int ret = tdb_transaction_recover(self->ctx); - PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx); - Py_RETURN_NONE; -} - static PyObject *obj_transaction_start(PyTdbObject *self) { int ret = tdb_transaction_start(self->ctx); @@ -325,9 +318,6 @@ static PyMethodDef tdb_object_methods[] = { { "transaction_commit", (PyCFunction)obj_transaction_commit, METH_NOARGS, "S.transaction_commit() -> None\n" "Commit the currently active transaction." }, - { "transaction_recover", (PyCFunction)obj_transaction_recover, METH_NOARGS, - "S.transaction_recover() -> None\n" - "Recover the currently active transaction." }, { "transaction_start", (PyCFunction)obj_transaction_start, METH_NOARGS, "S.transaction_start() -> None\n" "Start a new transaction." }, -- cgit