Skip to content
Snippets Groups Projects
Commit 594437b6 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

parents 87c3614b a0accc86
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ install: $(ILIBS) $(IPROGS) $(IHDRS) ...@@ -41,7 +41,7 @@ install: $(ILIBS) $(IPROGS) $(IHDRS)
for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done
clean: clean:
rm -rf $(PROGS) *.[ao] *.so *~ testdb rm -rf $(PROGS) *.[ao] *.[ls]o *~ testdb
test: all test: all
rm -rf testdb && mkdir testdb rm -rf testdb && mkdir testdb
......
...@@ -1025,9 +1025,9 @@ int mdb_txn_renew(MDB_txn *txn); ...@@ -1025,9 +1025,9 @@ int mdb_txn_renew(MDB_txn *txn);
* After a successful commit the * After a successful commit the
* handle will reside in the shared environment, and may be used * handle will reside in the shared environment, and may be used
* by other transactions. This function must not be called from * by other transactions. This function must not be called from
* multiple concurrent transactions. A transaction that uses this function * multiple concurrent transactions in the same process. A transaction
* must finish (either commit or abort) before any other transaction may * that uses this function must finish (either commit or abort) before
* use this function. * any other transaction in the process may use this function.
* *
* To use named databases (with name != NULL), #mdb_env_set_maxdbs() * To use named databases (with name != NULL), #mdb_env_set_maxdbs()
* must be called before opening the environment. Database names * must be called before opening the environment. Database names
...@@ -1270,10 +1270,9 @@ int mdb_get(MDB_txn *txn, MDB_dbi dbi, MDB_val *key, MDB_val *data); ...@@ -1270,10 +1270,9 @@ int mdb_get(MDB_txn *txn, MDB_dbi dbi, MDB_val *key, MDB_val *data);
* LMDB does nothing else with this memory, the caller is expected * LMDB does nothing else with this memory, the caller is expected
* to modify all of the space requested. * to modify all of the space requested.
* <li>#MDB_APPEND - append the given key/data pair to the end of the * <li>#MDB_APPEND - append the given key/data pair to the end of the
* database. No key comparisons are performed. This option allows * database. This option allows fast bulk loading when keys are
* fast bulk loading when keys are already known to be in the * already known to be in the correct order. Loading unsorted keys
* correct order. Loading unsorted keys with this flag will cause * with this flag will cause a #MDB_KEYEXIST error.
* data corruption.
* <li>#MDB_APPENDDUP - as above, but for sorted dup data. * <li>#MDB_APPENDDUP - as above, but for sorted dup data.
* </ul> * </ul>
* @return A non-zero error value on failure and 0 on success. Some possible * @return A non-zero error value on failure and 0 on success. Some possible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment