/* back-bdb.h - bdb back-end header file */
/* $OpenLDAP$ */
/*
- * Copyright 2000-2001 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2002 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
LDAP_BEGIN_DECL
#define BDB_FILTER_INDICES 1
-/* #define BDB_IDL_MULTI 1 */
+#define BDB_IDL_MULTI 1
/* #define BDB_HIER 1 */
#define DN_BASE_PREFIX SLAP_INDEX_EQUALITY_PREFIX
#if DB_VERSION_MAJOR < 4
#define TXN_CHECKPOINT(env, k, m, f) txn_checkpoint(env, k, m, f)
+#define TXN_ID(txn) txn_id(txn)
#define LOCK_DETECT(env, f, t, a) lock_detect(env, f, t, a)
+#define LOCK_GET(env, i, f, o, m, l) lock_get(env, i, f, o, m, l)
#else
#define TXN_CHECKPOINT(env, k, m, f) (env)->txn_checkpoint(env, k, m, f)
+#define TXN_ID(txn) (txn)->id(txn)
#define LOCK_DETECT(env, f, t, a) (env)->lock_detect(env, f, t, a)
+#define LOCK_GET(env, i, f, o, m, l) (env)->lock_get(env, i, f, o, m, l)
#endif
LDAP_END_DECL