summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_sqlite3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2006-06-08 03:57:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:58 -0500
commit7d7e43d94f26aa6c82b5553ab34d088a33bc99a6 (patch)
tree285f41bbd1841cf0d536b6a26f86d89fb81633e5 /source4/lib/ldb/ldb_sqlite3
parent43e9053d95dda36fc43710ac58db9dfff8e6ca03 (diff)
downloadsamba-7d7e43d94f26aa6c82b5553ab34d088a33bc99a6.tar.gz
samba-7d7e43d94f26aa6c82b5553ab34d088a33bc99a6.tar.bz2
samba-7d7e43d94f26aa6c82b5553ab34d088a33bc99a6.zip
r16090: Fix standalone build after the rename of enum ldb_request_type in
r15944. Hey idra I think a better rename would be to keep the LDB_REQ suffix here to remain consistent with the other enums (e.g ldb_reply_type, ldb_async_wait_type and ldb_async_state). (This used to be commit d44ee8c43bd8f6f978330a8ded8bf30ffad494d6)
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3')
-rw-r--r--source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
index defd6fbbbc..c9b453587e 100644
--- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
+++ b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
@@ -1990,7 +1990,7 @@ static int lsql_request(struct ldb_module *module, struct ldb_request *req)
switch (req->operation) {
- case LDB_REQ_SEARCH:
+ case LDB_SEARCH:
return lsql_search_bytree(module,
req->op.search.base,
req->op.search.scope,
@@ -1998,21 +1998,21 @@ static int lsql_request(struct ldb_module *module, struct ldb_request *req)
req->op.search.attrs,
&req->op.search.res);
- case LDB_REQ_ADD:
+ case LDB_ADD:
return lsql_add(module, req->op.add.message);
- case LDB_REQ_MODIFY:
+ case LDB_MODIFY:
return lsql_modify(module, req->op.mod.message);
- case LDB_REQ_DELETE:
+ case LDB_DELETE:
return lsql_delete(module, req->op.del.dn);
- case LDB_REQ_RENAME:
+ case LDB_RENAME:
return lsql_rename(module,
req->op.rename.olddn,
req->op.rename.newdn);
- case LDB_ASYNC_SEARCH:
+ case LDB_SEARCH:
return lsql_search_async(module,
req->op.search.base,
req->op.search.scope,
@@ -2022,28 +2022,28 @@ static int lsql_request(struct ldb_module *module, struct ldb_request *req)
req->async.callback,
&req->async.handle);
/*
- case LDB_ASYNC_ADD:
+ case LDB_ADD:
return lsql_add_async(module,
req->op.add.message,
req->async.context,
req->async.callback,
&req->async.handle);
- case LDB_ASYNC_MODIFY:
+ case LDB_MODIFY:
return lsql_modify_async(module,
req->op.mod.message,
req->async.context,
req->async.callback,
&req->async.handle);
*/
- case LDB_ASYNC_DELETE:
+ case LDB_DELETE:
return lsql_delete_async(module,
req->op.del.dn,
req->async.context,
req->async.callback,
&req->async.handle);
- case LDB_ASYNC_RENAME:
+ case LDB_RENAME:
return lsql_rename_async(module,
req->op.rename.olddn,
req->op.rename.newdn,