mirror of
https://github.com/MariaDB/server.git
synced 2025-05-29 21:42:28 +03:00
provide created shared memory objects with proper access rights to make them usable when client and server are running under different accounts. Post review fixes. VC++Files/mysys/mysys.dsp: Add my_windac.c to mysys.lib include/my_sys.h: Declarations for SECURITY_ATTRIBUTES create/destroy functions. mysys/Makefile.am: Add my_windac.c to the list of compiled files. sql-common/client.c: Lower requested access rights for events as the server won't provide clients with ALL access in order to prevent denial of service attack. sql/mysqld.cc: Set proper security attributes for the kernel objects to make them usable when mysqld is running as a Windows service.
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