mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Bug#23950: misplaced code in mysqld.cc, main()
We should initialize before anything else.
This commit is contained in:
parent
682596d7ce
commit
0c181b0786
1 changed files with 3 additions and 1 deletions
|
@ -3339,8 +3339,10 @@ int win_main(int argc, char **argv)
|
|||
int main(int argc, char **argv)
|
||||
#endif
|
||||
{
|
||||
DEBUGGER_OFF;
|
||||
MY_INIT(argv[0]); // init my_sys library & pthreads
|
||||
/* ^^^ Nothing should be before this line! */
|
||||
|
||||
DEBUGGER_OFF;
|
||||
|
||||
#ifdef _CUSTOMSTARTUPCONFIG_
|
||||
if (_cust_check_startup())
|
||||
|
|
Loading…
Reference in a new issue