mirror of
https://github.com/MariaDB/server.git
synced 2025-07-25 16:39:52 +00:00
MDEV-35585 unit.json_normalize crashes on mac
Like MDEV-35583, initialize THR_KEY_mysys explicitly by calling MY_INIT and my_end.
This commit is contained in:

committed by
Vicențiu-Marian Ciorbaru

parent
e7c6cdd842
commit
9428647be3
@ -241,8 +241,10 @@ check_number_normalize(const char *in, const char *expected)
|
||||
|
||||
|
||||
int
|
||||
main(void)
|
||||
main(int argc, char** argv)
|
||||
{
|
||||
MY_INIT(argv[0]);
|
||||
|
||||
plan(88);
|
||||
diag("Testing json_normalization.");
|
||||
|
||||
@ -276,5 +278,6 @@ main(void)
|
||||
test_json_normalize_nested_deep();
|
||||
test_json_normalize_non_utf8();
|
||||
|
||||
my_end(MY_CHECK_ERROR);
|
||||
return exit_status();
|
||||
}
|
||||
|
Reference in New Issue
Block a user