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_vrfyutil.c | |
parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
download | berkeleydb-master.tar.gz |
Diffstat (limited to 'src/db/db_vrfyutil.c')
-rw-r--r-- | src/db/db_vrfyutil.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/db/db_vrfyutil.c b/src/db/db_vrfyutil.c index d72e1188..3a64bd50 100644 --- a/src/db/db_vrfyutil.c +++ b/src/db/db_vrfyutil.c @@ -1,7 +1,7 @@ /*- * See the file LICENSE for redistribution information. * - * Copyright (c) 2000, 2012 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015 Oracle and/or its affiliates. All rights reserved. * * $Id$ */ @@ -43,6 +43,9 @@ __db_vrfy_dbinfo_create(env, ip, pgsize, vdpp) if ((ret = __db_create_internal(&cdbp, env, 0)) != 0) goto err; + if ((ret = __db_set_blob_threshold(cdbp, 0, 0)) != 0) + goto err; + if ((ret = __db_set_flags(cdbp, DB_DUP)) != 0) goto err; @@ -60,6 +63,9 @@ __db_vrfy_dbinfo_create(env, ip, pgsize, vdpp) if ((ret = __db_create_internal(&pgdbp, env, 0)) != 0) goto err; + if ((ret = __db_set_blob_threshold(pgdbp, 0, 0)) != 0) + goto err; + if ((ret = __db_set_pagesize(pgdbp, pgsize)) != 0) goto err; @@ -928,5 +934,6 @@ __db_vrfy_prdbt(dbtp, checkprint, prefix, } return ( __db_prdbt(dbtp, checkprint, - prefix, handle, callback, is_recno, is_heap)); + prefix, handle, callback, is_recno, is_heap, + vdp != NULL && F_ISSET(vdp, SALVAGE_STREAM_BLOB) ? 1 : 0)); } |