diff options
Diffstat (limited to 'src/third_party/wiredtiger/test/csuite/schema_abort/main.c')
-rw-r--r-- | src/third_party/wiredtiger/test/csuite/schema_abort/main.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/csuite/schema_abort/main.c b/src/third_party/wiredtiger/test/csuite/schema_abort/main.c index ac8eecee678..854b4c4d06e 100644 --- a/src/third_party/wiredtiger/test/csuite/schema_abort/main.c +++ b/src/third_party/wiredtiger/test/csuite/schema_abort/main.c @@ -129,6 +129,10 @@ typedef struct { static void sig_handler(int) WT_GCC_FUNC_DECL_ATTRIBUTE((noreturn)); static void usage(void) WT_GCC_FUNC_DECL_ATTRIBUTE((noreturn)); +/* + * usage -- + * TODO: Add a comment describing this function. + */ static void usage(void) { @@ -171,6 +175,10 @@ static WT_EVENT_HANDLER event_handler = { * that we can verify the state of the schema too. */ +/* + * dump_ts -- + * TODO: Add a comment describing this function. + */ static void dump_ts(uint64_t nth) { @@ -764,6 +772,10 @@ thread_run(void *arg) * it is killed by the parent. */ static void run_workload(uint32_t) WT_GCC_FUNC_DECL_ATTRIBUTE((noreturn)); +/* + * run_workload -- + * TODO: Add a comment describing this function. + */ static void run_workload(uint32_t nth) { @@ -846,6 +858,10 @@ extern char *__wt_optarg; /* * Initialize a report structure. Since zero is a valid key we cannot just clear it. */ +/* + * initialize_rep -- + * TODO: Add a comment describing this function. + */ static void initialize_rep(REPORT *r) { @@ -857,6 +873,10 @@ initialize_rep(REPORT *r) * Print out information if we detect missing records in the middle of the data of a report * structure. */ +/* + * print_missing -- + * TODO: Add a comment describing this function. + */ static void print_missing(REPORT *r, const char *fname, const char *msg) { @@ -870,6 +890,10 @@ print_missing(REPORT *r, const char *fname, const char *msg) /* * Signal handler to catch if the child died unexpectedly. */ +/* + * sig_handler -- + * TODO: Add a comment describing this function. + */ static void sig_handler(int sig) { @@ -883,6 +907,10 @@ sig_handler(int sig) testutil_die(EINVAL, "Child process %" PRIu64 " abnormally exited", (uint64_t)pid); } +/* + * main -- + * TODO: Add a comment describing this function. + */ int main(int argc, char *argv[]) { |