mirror of
https://github.com/MariaDB/server.git
synced 2025-05-28 13:01:41 +03:00
mysqld >=4.1.3 will however understand shutdown requests sent by clients <4.1.3. And mysqld <4.1.3 will understand shutdown requests sent by clients >=4.1.3 (it will ignore the level). Those shutdown level are just PLACEHOLDERS now. So this change is just to make the 4.1 API suitable before it is frozen. Later we will actually implement the shutdown levels. VC++Files/winmysqladmin/main.cpp: 2nd argument to mysql_shutdown() VC++Files/winmysqladmin/mysql.h: 2nd argument to mysql_shutdown() VC++Files/winmysqladmin/mysql_com.h: Several types of shutdown now. include/mysql_com.h: SHUTDOWN_DEFAULT is now 0 instead of 255, this saves one test in sql_parse.cc libmysql/libmysql.c: correcting mistake (how come that my tests still all worked with this? - should recheck, for curiosity). sql/sql_parse.cc: with SHUTDOWN_DEFAULT==0, no need for testing packet_length.
Some notes about building MySQL with VC++ - After bulding all projects, you get the files in the following directories: Directory Content lib_debug Debug libraries lib_release Release libraries lib_classic Embedded server libraries for classic lib_pro Embedded server libraries for pro client_debug Debug executables client_release Client release client_classic Commerical binaries (classic) client_pro Commerical binaries (unique for pro version) include Include files The copy_mysql_files.bat script can be used to copy the generated files to c:\mysql