diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-06-20 20:43:32 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-06-20 20:43:32 +1000 |
commit | c3b6b3844d63661e67050485595b6158bb80138a (patch) | |
tree | b9e5fd276733856ca2fd9c342f92bdd7cf082104 /src/include/error.h | |
parent | 1cde95e2858baf5a3a9b5c4a7ba94865cbdaf557 (diff) | |
download | mongo-c3b6b3844d63661e67050485595b6158bb80138a.tar.gz |
Finish the implementation of reconfigure methods: allow flags to be turned off, add support for verbose and cache size.
Diffstat (limited to 'src/include/error.h')
-rw-r--r-- | src/include/error.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/error.h b/src/include/error.h index c3b02a7da77..dd428d70601 100644 --- a/src/include/error.h +++ b/src/include/error.h @@ -57,6 +57,11 @@ __wt_err(session, __ret, __VA_ARGS__); \ return (__ret); \ } while (0) +#define WT_RET_NOTFOUND_OK(a) do { \ + int __ret; \ + if ((__ret = (a)) != 0 && __ret != WT_NOTFOUND) \ + return (__ret); \ +} while (0) /* Set "ret" if not already set. */ #define WT_TRET(a) do { \ |