summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/include/api.h')
-rw-r--r--src/third_party/wiredtiger/src/include/api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/api.h b/src/third_party/wiredtiger/src/include/api.h
index ca419ab5143..b34d41a8167 100644
--- a/src/third_party/wiredtiger/src/include/api.h
+++ b/src/third_party/wiredtiger/src/include/api.h
@@ -189,6 +189,8 @@
API_END(s, 0); \
return ((ret) == WT_NOTFOUND ? ENOENT : (ret))
+#define API_USER_ENTRY(s) (s)->api_call_counter == 1
+
#define CONNECTION_API_CALL(conn, s, n, config, cfg) \
s = (conn)->default_session; \
API_CALL(s, WT_CONNECTION, n, NULL, config, cfg)