From f29ea516f99a250765c8a718d7212577167f7931 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 6 Jan 2007 09:03:28 +0000 Subject: [PATCH] r20581: - the ldb modules have explicit hooks for extended operations so call them - reorder the request operations first all with explixit hooks metze (This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e) --- source4/lib/ldb/common/ldb.c | 4 ++++ source4/lib/ldb/include/ldb.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c index 9b4386547c08..28fe34c76727 100644 --- a/source4/lib/ldb/common/ldb.c +++ b/source4/lib/ldb/common/ldb.c @@ -533,6 +533,10 @@ int ldb_request(struct ldb_context *ldb, struct ldb_request *req) FIRST_OP(ldb, rename); ret = module->ops->rename(module, req); break; + case LDB_EXTENDED: + FIRST_OP(ldb, extended); + ret = module->ops->extended(module, req); + break; case LDB_SEQUENCE_NUMBER: FIRST_OP(ldb, sequence_number); ret = module->ops->sequence_number(module, req); diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 4f8ee1f94199..8a31720eeacb 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -651,9 +651,9 @@ enum ldb_request_type { LDB_DELETE, LDB_RENAME, LDB_EXTENDED, + LDB_SEQUENCE_NUMBER, LDB_REQ_REGISTER_CONTROL, - LDB_REQ_REGISTER_PARTITION, - LDB_SEQUENCE_NUMBER + LDB_REQ_REGISTER_PARTITION }; enum ldb_reply_type { -- 2.34.1