From 3f0a2500cec6aaf0104c3b61a8c93d09db80365f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 11 Apr 2017 17:50:08 +0200 Subject: [PATCH] ldb: version 1.2.0 * handle one more LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK case in ldb_tdb * fix ldb_tdb locking (performance) problems * fix ldb_tdb search inconsistencies by adding read_[un]lock() hooks to the module stack (bug #12858) * add cmocka based tests for the locking issues * ldb_version.h provides LDB_VERSION_{MAJOR,MINOR,RELEASE} defines * protect ldb_modules.h from being used by Samba < 4.7 Note: that this release (as well as 1.1.30 and 1.1.31) may cause problems for older applications, e.g. Samba See https://bugzilla.samba.org/show_bug.cgi?id=12859 Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- lib/ldb/ABI/ldb-1.1.31.sigs | 2 -- lib/ldb/ABI/{ldb-1.1.31.sigs => ldb-1.2.0.sigs} | 0 lib/ldb/ABI/pyldb-util-1.2.0.sigs | 2 ++ lib/ldb/ABI/pyldb-util.py3-1.2.0.sigs | 2 ++ lib/ldb/wscript | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) copy lib/ldb/ABI/{ldb-1.1.31.sigs => ldb-1.2.0.sigs} (100%) create mode 100644 lib/ldb/ABI/pyldb-util-1.2.0.sigs create mode 100644 lib/ldb/ABI/pyldb-util.py3-1.2.0.sigs diff --git a/lib/ldb/ABI/ldb-1.1.31.sigs b/lib/ldb/ABI/ldb-1.1.31.sigs index 1be2ae73a2f..d183708b215 100644 --- a/lib/ldb/ABI/ldb-1.1.31.sigs +++ b/lib/ldb/ABI/ldb-1.1.31.sigs @@ -186,8 +186,6 @@ ldb_next_del_trans: int (struct ldb_module *) ldb_next_end_trans: int (struct ldb_module *) ldb_next_init: int (struct ldb_module *) ldb_next_prepare_commit: int (struct ldb_module *) -ldb_next_read_lock: int (struct ldb_module *) -ldb_next_read_unlock: int (struct ldb_module *) ldb_next_remote_request: int (struct ldb_module *, struct ldb_request *) ldb_next_request: int (struct ldb_module *, struct ldb_request *) ldb_next_start_trans: int (struct ldb_module *) diff --git a/lib/ldb/ABI/ldb-1.1.31.sigs b/lib/ldb/ABI/ldb-1.2.0.sigs similarity index 100% copy from lib/ldb/ABI/ldb-1.1.31.sigs copy to lib/ldb/ABI/ldb-1.2.0.sigs diff --git a/lib/ldb/ABI/pyldb-util-1.2.0.sigs b/lib/ldb/ABI/pyldb-util-1.2.0.sigs new file mode 100644 index 00000000000..74d6719d2bc --- /dev/null +++ b/lib/ldb/ABI/pyldb-util-1.2.0.sigs @@ -0,0 +1,2 @@ +pyldb_Dn_FromDn: PyObject *(struct ldb_dn *) +pyldb_Object_AsDn: bool (TALLOC_CTX *, PyObject *, struct ldb_context *, struct ldb_dn **) diff --git a/lib/ldb/ABI/pyldb-util.py3-1.2.0.sigs b/lib/ldb/ABI/pyldb-util.py3-1.2.0.sigs new file mode 100644 index 00000000000..74d6719d2bc --- /dev/null +++ b/lib/ldb/ABI/pyldb-util.py3-1.2.0.sigs @@ -0,0 +1,2 @@ +pyldb_Dn_FromDn: PyObject *(struct ldb_dn *) +pyldb_Object_AsDn: bool (TALLOC_CTX *, PyObject *, struct ldb_context *, struct ldb_dn **) diff --git a/lib/ldb/wscript b/lib/ldb/wscript index 2e77f00daf6..6f36965204b 100644 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -1,7 +1,7 @@ #!/usr/bin/env python APPNAME = 'ldb' -VERSION = '1.1.31' +VERSION = '1.2.0' blddir = 'bin' -- 2.11.4.GIT