Skip to content

Commit daf3551

Browse files
committed
add missing DBUG_RETURN-s
1 parent 2e0ac16 commit daf3551

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

mysys/my_getopt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ int handle_options(int *argc, char ***argv,
486486
"unsupported by option '--%s'",
487487
my_progname, optp->name);
488488
if (!option_is_loose)
489-
return EXIT_ARGUMENT_INVALID;
489+
DBUG_RETURN(EXIT_ARGUMENT_INVALID);
490490
continue;
491491
}
492492
else

storage/myisam/sort.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ pthread_handler_t thr_find_all_keys(void *arg)
529529
mysql_cond_signal(&sort_param->sort_info->cond);
530530
mysql_mutex_unlock(&sort_param->sort_info->mutex);
531531
DBUG_PRINT("exit", ("======== ending thread ========"));
532+
DBUG_LEAVE;
532533
}
533534
my_thread_end();
534535
return NULL;

tests/mysql_client_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17175,7 +17175,7 @@ static void test_bug28386()
1717517175
if (! opt_silent)
1717617176
printf("Skipping the test since logging to tables is not enabled\n");
1717717177
/* Log output is not to tables */
17178-
return;
17178+
DBUG_VOID_RETURN;
1717917179
}
1718017180
mysql_free_result(result);
1718117181

0 commit comments

Comments
 (0)