Bug #15535 Compile failure on Windows due to mmap-related define

Submitted: 6 Dec 2005 18:32 Modified: 1 Mar 2006 19:34
Reporter: Jim Winstead Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: MyISAM storage engine Severity:S2 (Serious)
Version:5.1.4-bk OS:Windows (Windows)
Assigned to: Kent Boortz CPU Architecture:Any

[6 Dec 2005 18:32] Jim Winstead
Description:
storage/myisam/mi_dynrec.c doesn't compile on windows because MAP_NORESERVE is not defined, used in mi_dynmap_file()

How to repeat:
Compile on Windows.

Suggested fix:
This is a non-standard flag, so it may trouble other platforms, too. We have a #define MAP_NORESERVE 0 in some other files.
[11 Dec 2005 20:22] MySQL Verification Team
e:\builds\mysql-5.1.4-alpha\storage\myisam\mi_dynrec.c(74): error C2065: 'MAP_NORESERVE' : undeclared identifier

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 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.