summaryrefslogtreecommitdiff
path: root/src/include/api.h
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-05-05 11:30:05 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-05-05 11:30:05 -0400
commit63c00abe4fc1d36a74d336a7f01898176d00dadb (patch)
tree93aaac324bf0f70cca845d2607c778f8af47e6bf /src/include/api.h
parent08770dfe663434cbe5bf38428a9c00d772b7a78c (diff)
parente41526451da21ae670525de7959d680472c23898 (diff)
downloadmongo-63c00abe4fc1d36a74d336a7f01898176d00dadb.tar.gz
Merge branch 'develop' into async. Fix conflicts.
Diffstat (limited to 'src/include/api.h')
-rw-r--r--src/include/api.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/api.h b/src/include/api.h
index cb62bf504b5..82b5b572ef9 100644
--- a/src/include/api.h
+++ b/src/include/api.h
@@ -15,7 +15,8 @@
#define API_CALL_NOCONF(s, h, n, cur, dh) do { \
API_SESSION_INIT(s, h, n, cur, dh); \
- WT_ERR(F_ISSET(S2C(s), WT_CONN_PANIC) ? __wt_panic(s) : 0)
+ WT_ERR(F_ISSET(S2C(s), WT_CONN_PANIC) ? __wt_panic(s) : 0); \
+ WT_VERBOSE_ERR((s), api, "CALL: " #h ":" #n)
#define API_CALL(s, h, n, cur, dh, config, cfg) do { \
const char *cfg[] = \
@@ -24,7 +25,8 @@
WT_ERR(F_ISSET(S2C(s), WT_CONN_PANIC) ? __wt_panic(s) : 0); \
WT_ERR(((config) != NULL) ? \
__wt_config_check((s), \
- WT_CONFIG_REF(session, h##_##n), (config), 0) : 0)
+ WT_CONFIG_REF(session, h##_##n), (config), 0) : 0); \
+ WT_VERBOSE_ERR((s), api, "CALL: " #h ":" #n)
#define API_END(s, ret) \
if ((s) != NULL) { \