diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
---|---|---|
committer | <> | 2015-03-17 16:26:24 +0000 |
commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /src/db/db_dispatch.c | |
parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
download | berkeleydb-master.tar.gz |
Diffstat (limited to 'src/db/db_dispatch.c')
-rw-r--r-- | src/db/db_dispatch.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/db/db_dispatch.c b/src/db/db_dispatch.c index 06de4ef7..7cb7f9ca 100644 --- a/src/db/db_dispatch.c +++ b/src/db/db_dispatch.c @@ -1,7 +1,7 @@ /*- * See the file LICENSE for redistribution information. * - * Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved. */ /* * Copyright (c) 1995, 1996 @@ -639,7 +639,7 @@ __db_txnlist_find(env, hp, txnid, statusp) DB_TXNLIST *entry; if (txnid == 0) - return (DB_NOTFOUND); + return (USR_ERR(env, DB_NOTFOUND)); return (__db_txnlist_find_internal(env, hp, TXNLIST_TXNID, txnid, &entry, 0, statusp)); @@ -666,7 +666,7 @@ __db_txnlist_update(env, hp, txnid, status, lsn, ret_status, add_ok) int ret; if (txnid == 0) - return (DB_NOTFOUND); + return (USR_ERR(env, DB_NOTFOUND)); ret = __db_txnlist_find_internal(env, hp, TXNLIST_TXNID, txnid, &elp, 0, ret_status); @@ -715,7 +715,7 @@ __db_txnlist_find_internal(env, ret = 0; if (hp == NULL) - return (DB_NOTFOUND); + return (USR_ERR(env, DB_NOTFOUND)); switch (type) { case TXNLIST_TXNID: @@ -759,7 +759,7 @@ __db_txnlist_find_internal(env, return (ret); } - return (DB_NOTFOUND); + return (USR_ERR(env, DB_NOTFOUND)); } /* |