mirror of
https://github.com/MariaDB/server.git
synced 2026-04-21 07:45:32 +02:00
fix "use mutex before initialization" bug in example_km plugin
that for some reasons worked on linux, but crashed on windows
This commit is contained in:
parent
966b236612
commit
7d49e6940e
1 changed files with 1 additions and 1 deletions
|
|
@ -104,8 +104,8 @@ static int example_key_management_plugin_init(void *p)
|
|||
{
|
||||
/* init */
|
||||
my_rnd_init(&seed, time(0), 0);
|
||||
get_latest_key_version(1);
|
||||
pthread_mutex_init(&mutex, NULL);
|
||||
get_latest_key_version(1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue