summaryrefslogtreecommitdiff
path: root/src/btree/bt_misc.c
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2011-12-21 14:49:09 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2011-12-21 14:49:09 +0000
commitc416ddc38022b63bf62cf9bfe6f58d7035e4c6bb (patch)
tree941e5022b686e4e1d50eca3efc1aa9b5abda54ef /src/btree/bt_misc.c
parent559eeb317d7e6350374365b3bc7702dad347a5bf (diff)
downloadmongo-c416ddc38022b63bf62cf9bfe6f58d7035e4c6bb.tar.gz
Move root addresses into the schema file and add support for the
WiredTiger.turtle file. More work splitting the block manager code out of btree/bt_handle.c (including lots of re-organization of bt_handle.c).
Diffstat (limited to 'src/btree/bt_misc.c')
-rw-r--r--src/btree/bt_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_misc.c b/src/btree/bt_misc.c
index 628e38fcfb9..b66e2a9f174 100644
--- a/src/btree/bt_misc.c
+++ b/src/btree/bt_misc.c
@@ -100,8 +100,8 @@ __wt_addr_string(
WT_SESSION_IMPL *session, WT_BUF *buf, const uint8_t *addr, uint32_t size)
{
if (addr == NULL) {
- buf->data = "[NoAddr]";
- buf->size = WT_STORE_SIZE(strlen("[NoAddr]"));
+ buf->data = WT_NOADDR;
+ buf->size = WT_STORE_SIZE(strlen(WT_NOADDR));
} else if (__wt_bm_addr_string(session, buf, addr, size) != 0) {
buf->data = "[Error]";
buf->size = WT_STORE_SIZE(strlen("[Error]"));