From: Howard Chu Date: Wed, 20 Feb 2013 13:08:52 +0000 (-0800) Subject: Update error code instances X-Git-Tag: OPENLDAP_REL_ENG_2_4_34~3^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3394bac2c0fcb69f29da5bd182fdb025b6ac42f6;p=openldap Update error code instances --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 029945a608..b94bd2d3b8 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -492,7 +492,7 @@ int mdb_env_create(MDB_env **env); * */ int mdb_txn_begin(MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **txn); @@ -706,7 +707,7 @@ int mdb_txn_begin(MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn ** *
  • EINVAL - an invalid parameter was specified. *
  • ENOSPC - no more disk space. *
  • EIO - a low-level I/O error occurred while writing. - *
  • ENOMEM - the transaction is nested and could not be merged into its parent. + *
  • ENOMEM - out of memory. * */ int mdb_txn_commit(MDB_txn *txn); @@ -811,7 +812,7 @@ int mdb_txn_renew(MDB_txn *txn); * */ int mdb_dbi_open(MDB_txn *txn, const char *name, unsigned int flags, MDB_dbi *dbi); @@ -997,9 +998,10 @@ int mdb_get(MDB_txn *txn, MDB_dbi dbi, MDB_val *key, MDB_val *data); * @return A non-zero error value on failure and 0 on success. Some possible * errors are: * */ int mdb_put(MDB_txn *txn, MDB_dbi dbi, MDB_val *key, MDB_val *data, @@ -1139,6 +1141,8 @@ int mdb_cursor_get(MDB_cursor *cursor, MDB_val *key, MDB_val *data, * @return A non-zero error value on failure and 0 on success. Some possible * errors are: *