1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

add missing DBUG_RETURN-s

This commit is contained in:
Sergei Golubchik
2015-11-11 15:48:08 +01:00
parent 2e0ac16827
commit daf3551cce
3 changed files with 3 additions and 2 deletions

View File

@@ -486,7 +486,7 @@ int handle_options(int *argc, char ***argv,
"unsupported by option '--%s'", "unsupported by option '--%s'",
my_progname, optp->name); my_progname, optp->name);
if (!option_is_loose) if (!option_is_loose)
return EXIT_ARGUMENT_INVALID; DBUG_RETURN(EXIT_ARGUMENT_INVALID);
continue; continue;
} }
else else

View File

@@ -529,6 +529,7 @@ ok:
mysql_cond_signal(&sort_param->sort_info->cond); mysql_cond_signal(&sort_param->sort_info->cond);
mysql_mutex_unlock(&sort_param->sort_info->mutex); mysql_mutex_unlock(&sort_param->sort_info->mutex);
DBUG_PRINT("exit", ("======== ending thread ========")); DBUG_PRINT("exit", ("======== ending thread ========"));
DBUG_LEAVE;
} }
my_thread_end(); my_thread_end();
return NULL; return NULL;

View File

@@ -17175,7 +17175,7 @@ static void test_bug28386()
if (! opt_silent) if (! opt_silent)
printf("Skipping the test since logging to tables is not enabled\n"); printf("Skipping the test since logging to tables is not enabled\n");
/* Log output is not to tables */ /* Log output is not to tables */
return; DBUG_VOID_RETURN;
} }
mysql_free_result(result); mysql_free_result(result);