diff options
author | Etienne Petrel <etienne.petrel@mongodb.com> | 2022-01-11 03:06:53 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-11 04:01:39 +0000 |
commit | de4df2a7ded1bb30f81e9f895a93393dc6fa142f (patch) | |
tree | 88aaea6b74563ce529f3850985e08c6670cb761d /src/third_party/wiredtiger/test/cursor_order | |
parent | 08f2de77417bf46ea057b1a9ed100e8c485d0c51 (diff) | |
download | mongo-de4df2a7ded1bb30f81e9f895a93393dc6fa142f.tar.gz |
Import wiredtiger: 191e1c26eb8f64b372504744d0a9da621664f125 from branch mongodb-master
ref: e1427e4a69..191e1c26eb
for: 5.3.0
WT-8274 Run function.py on all our source files
Diffstat (limited to 'src/third_party/wiredtiger/test/cursor_order')
3 files changed, 28 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/cursor_order/cursor_order.c b/src/third_party/wiredtiger/test/cursor_order/cursor_order.c index bac7e25c7bc..4cf99d20c5a 100644 --- a/src/third_party/wiredtiger/test/cursor_order/cursor_order.c +++ b/src/third_party/wiredtiger/test/cursor_order/cursor_order.c @@ -42,6 +42,10 @@ static void wt_shutdown(SHARED_CONFIG *); extern int __wt_optind; extern char *__wt_optarg; +/* + * main -- + * TODO: Add a comment describing this function. + */ int main(int argc, char *argv[]) { @@ -208,6 +212,10 @@ shutdown(void) testutil_clean_work_dir(home); } +/* + * handle_error -- + * TODO: Add a comment describing this function. + */ static int handle_error(WT_EVENT_HANDLER *handler, WT_SESSION *session, int error, const char *errmsg) { @@ -218,6 +226,10 @@ handle_error(WT_EVENT_HANDLER *handler, WT_SESSION *session, int error, const ch return (fprintf(stderr, "%s\n", errmsg) < 0 ? -1 : 0); } +/* + * handle_message -- + * TODO: Add a comment describing this function. + */ static int handle_message(WT_EVENT_HANDLER *handler, WT_SESSION *session, const char *message) { diff --git a/src/third_party/wiredtiger/test/cursor_order/cursor_order_file.c b/src/third_party/wiredtiger/test/cursor_order/cursor_order_file.c index e67b70d7d6b..74addeb001a 100644 --- a/src/third_party/wiredtiger/test/cursor_order/cursor_order_file.c +++ b/src/third_party/wiredtiger/test/cursor_order/cursor_order_file.c @@ -28,6 +28,10 @@ #include "cursor_order.h" +/* + * file_create -- + * TODO: Add a comment describing this function. + */ static void file_create(SHARED_CONFIG *cfg, const char *name) { @@ -56,6 +60,10 @@ file_create(SHARED_CONFIG *cfg, const char *name) testutil_check(session->close(session, NULL)); } +/* + * load -- + * TODO: Add a comment describing this function. + */ void load(SHARED_CONFIG *cfg, const char *name) { @@ -102,6 +110,10 @@ load(SHARED_CONFIG *cfg, const char *name) testutil_check(session->close(session, NULL)); } +/* + * verify -- + * TODO: Add a comment describing this function. + */ void verify(SHARED_CONFIG *cfg, const char *name) { diff --git a/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c b/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c index b02b3c1738a..1c64bf09c64 100644 --- a/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c +++ b/src/third_party/wiredtiger/test/cursor_order/cursor_order_ops.c @@ -45,6 +45,10 @@ typedef struct { static INFO *run_info; +/* + * ops_start -- + * TODO: Add a comment describing this function. + */ void ops_start(SHARED_CONFIG *cfg) { |