diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2016-04-05 11:14:35 +1000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2016-04-05 11:14:35 +1000 |
commit | b53c3b161e1431fca9a453e3ab600a85357420b7 (patch) | |
tree | 38c21d3537e1b3c0b79d2f15e6ed236cf9b4f79a | |
parent | 95ffda62606c136fb571d9e15460a12b9c2d1074 (diff) | |
download | mongo-b53c3b161e1431fca9a453e3ab600a85357420b7.tar.gz |
WT-2533 Fix a typo in the last commit - actually return non-zero.
-rw-r--r-- | src/os_common/os_fs_inmemory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_common/os_fs_inmemory.c b/src/os_common/os_fs_inmemory.c index 3b96e87157e..45ba2ae8c4d 100644 --- a/src/os_common/os_fs_inmemory.c +++ b/src/os_common/os_fs_inmemory.c @@ -313,7 +313,7 @@ __im_handle_size(WT_SESSION_IMPL *session, WT_FH *fh, wt_off_t *sizep) * non-zero size. In memory tables generally are zero-sized, make * MongoDB happy. */ - *sizep = fh->buf.size == 0 ? 0 : (wt_off_t)fh->buf.size; + *sizep = fh->buf.size == 0 ? 1024 : (wt_off_t)fh->buf.size; return (0); } |