summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/support/err.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/support/err.c')
-rw-r--r--src/third_party/wiredtiger/src/support/err.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/support/err.c b/src/third_party/wiredtiger/src/support/err.c
index 287a59b4c41..4b7597bad40 100644
--- a/src/third_party/wiredtiger/src/support/err.c
+++ b/src/third_party/wiredtiger/src/support/err.c
@@ -78,8 +78,24 @@ __handle_close_default(WT_EVENT_HANDLER *handler, WT_SESSION *wt_session, WT_CUR
return (0);
}
+/*
+ * __handle_general_default --
+ * Default WT_EVENT_HANDLER->handle_general implementation: ignore.
+ */
+static int
+__handle_general_default(
+ WT_EVENT_HANDLER *handler, WT_CONNECTION *wt_conn, WT_SESSION *wt_session, WT_EVENT_TYPE type)
+{
+ WT_UNUSED(handler);
+ WT_UNUSED(wt_conn);
+ WT_UNUSED(wt_session);
+ WT_UNUSED(type);
+
+ return (0);
+}
+
static WT_EVENT_HANDLER __event_handler_default = {__handle_error_default, __handle_message_default,
- __handle_progress_default, __handle_close_default};
+ __handle_progress_default, __handle_close_default, __handle_general_default};
/*
* __handler_failure --