diff options
author | Will Korteland <will.korteland@mongodb.com> | 2022-10-05 22:11:19 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-05 22:46:35 +0000 |
commit | 0d9d435f805104eed0b7c01f683c7f65cbb7bac7 (patch) | |
tree | 816b7b3eed94ba9b59b2d5ccade3cb112ea6cf6b /src/third_party/wiredtiger/test | |
parent | 1f153fbbf1b4be085ac957eb2b4e20fd63420de4 (diff) | |
download | mongo-0d9d435f805104eed0b7c01f683c7f65cbb7bac7.tar.gz |
Import wiredtiger: bc73453d121e27879e28f6dc0ed91b2a6f773dd5 from branch mongodb-master
ref: 20386a28e2..bc73453d12
for: 6.2.0-rc0
WT-9933 Add a void * argument to the general event callback. (#8322)
Diffstat (limited to 'src/third_party/wiredtiger/test')
-rw-r--r-- | src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c | 7 | ||||
-rw-r--r-- | src/third_party/wiredtiger/test/csuite/wt8057_compact_stress/main.c | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c b/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c index 4c76a4ae2e2..1eaffd02955 100644 --- a/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c +++ b/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c @@ -136,7 +136,7 @@ static void usage(void) WT_GCC_FUNC_DECL_ATTRIBUTE((noreturn)); static void handle_conn_close(void); static void handle_conn_ready(WT_CONNECTION *); -static int handle_general(WT_EVENT_HANDLER *, WT_CONNECTION *, WT_SESSION *, WT_EVENT_TYPE); +static int handle_general(WT_EVENT_HANDLER *, WT_CONNECTION *, WT_SESSION *, WT_EVENT_TYPE, void *); static WT_CONNECTION *stat_conn = NULL; static WT_SESSION *stat_session = NULL; @@ -220,11 +220,12 @@ handle_conn_ready(WT_CONNECTION *conn) * Function to handle general event callbacks. */ static int -handle_general( - WT_EVENT_HANDLER *handler, WT_CONNECTION *conn, WT_SESSION *session, WT_EVENT_TYPE type) +handle_general(WT_EVENT_HANDLER *handler, WT_CONNECTION *conn, WT_SESSION *session, + WT_EVENT_TYPE type, void *arg) { WT_UNUSED(handler); WT_UNUSED(session); + WT_UNUSED(arg); if (type == WT_EVENT_CONN_CLOSE) handle_conn_close(); diff --git a/src/third_party/wiredtiger/test/csuite/wt8057_compact_stress/main.c b/src/third_party/wiredtiger/test/csuite/wt8057_compact_stress/main.c index 73fc9fe18a7..e52e4c25fcc 100644 --- a/src/third_party/wiredtiger/test/csuite/wt8057_compact_stress/main.c +++ b/src/third_party/wiredtiger/test/csuite/wt8057_compact_stress/main.c @@ -81,12 +81,13 @@ subtest_error_handler( * General event handler. */ static int -handle_general( - WT_EVENT_HANDLER *handler, WT_CONNECTION *conn, WT_SESSION *session, WT_EVENT_TYPE type) +handle_general(WT_EVENT_HANDLER *handler, WT_CONNECTION *conn, WT_SESSION *session, + WT_EVENT_TYPE type, void *arg) { (void)(handler); (void)(conn); (void)(session); + (void)(arg); if (type != WT_EVENT_COMPACT_CHECK) return (0); |