Bug #35758 Embedded Server compiling broken on Windows
| Submitted: | 2 Apr 2008 2:58 | Modified: | 9 Apr 2008 16:33 |
|---|---|---|---|
| Reporter: | Miguel Solorzano | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
| Version: | 5.1 | OS: | Windows |
| Assigned to: | Vladislav Vaintroub | CPU Architecture: | Any |
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Compiling latest source, the below error is launched by compiler: c:\dbs\mysql-5.1\sql\mysqld.cc(1959): error C2065: 'hEventShutdown' : undeclared identifier /sql/mysqld.cc static BOOL WINAPI console_event_handler( DWORD type ) { DBUG_ENTER("console_event_handler"); if(type == CTRL_C_EVENT) { /* Do not shutdown before startup is finished and shutdown thread is initialized. Otherwise there is a race condition between main thread doing initialization and CTRL-C thread doing cleanup, which can result into crash. */ if(hEventShutdown) <<<<<<<<<<<<<<<<<<<<<<<<< and: #if !defined(EMBEDDED_LIBRARY) static HANDLE hEventShutdown; static char shutdown_event_name[40]; .... How to repeat: Compile latest source. Suggested fix: See description.