summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-03-13 15:35:46 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-03-13 15:35:46 +1100
commit8344fcb7164b49ce95aa4bf36f7e10103db771ec (patch)
treecf06ed5f97c50582266d749393976c848bfb6af0
parentdeedc3eb2b86559317c11dd1ea4f89642248a4cf (diff)
downloadmongo-8344fcb7164b49ce95aa4bf36f7e10103db771ec.tar.gz
whitespace
-rw-r--r--src/include/btree.i14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/btree.i b/src/include/btree.i
index 03ea7aeabac..81b2b577965 100644
--- a/src/include/btree.i
+++ b/src/include/btree.i
@@ -553,14 +553,14 @@ __wt_btree_memsize(
WT_PAGE *child;
btree = session->btree;
- /*
- * Only return success if:
- * - We have a valid btree
- * - The btree has only a single leaf page
- * - The single leaf page is in memory
- */
+ /*
+ * Only return success if:
+ * - We have a valid btree
+ * - The btree has only a single leaf page
+ * - The single leaf page is in memory
+ */
if (btree == NULL || btree->root_page->entries != 1 ||
- btree->root_page->u.intl.t->page == NULL) {
+ btree->root_page->u.intl.t->page == NULL) {
*memsizep = 0;
return (WT_ERROR);
}