Merge 10.6 into 10.11

This commit is contained in:
Marko Mäkelä
2024-12-19 15:38:53 +02:00
129 changed files with 1398 additions and 1726 deletions

View File

@ -26,8 +26,10 @@ static void check(const char *res)
str1.length= 0;
}
int main(void)
int main(int argc, char** argv)
{
MY_INIT(argv[0]);
plan(23);
IF_WIN(skip_all("Test of POSIX shell escaping rules, not for CMD.EXE\n"), );
@ -69,6 +71,7 @@ int main(void)
dynstr_free(&str1);
my_end(MY_CHECK_ERROR);
return exit_status();
}

View File

@ -91,7 +91,6 @@ pthread_handler_t thread_stack_check(void *arg __attribute__((unused)))
test_stack_detection(1, STACK_ALLOC_SMALL_BLOCK_SIZE-1);
test_stack_detection(2, STACK_ALLOC_SMALL_BLOCK_SIZE+1);
my_thread_end();
pthread_exit(0);
return 0;
}

View File

@ -108,7 +108,6 @@ void *test_apc_service_thread(void *ptr)
apc_target.destroy();
mysql_mutex_destroy(&target_mutex);
my_thread_end();
pthread_exit(0);
return NULL;
}

View File

@ -54,6 +54,8 @@ constexpr uint FAKE_SELECT_LEX_ID= UINT_MAX;
int main(int args, char **argv)
{
MY_INIT(argv[0]);
plan(NO_PLAN);
diag("Testing Json_writer checks");
@ -141,6 +143,7 @@ int main(int args, char **argv)
diag("Done");
my_end(MY_CHECK_ERROR);
return exit_status();
}