1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug fix for bug #15843 "Added mmap support in myisam creates compile problem

on AIX 5.2"

Added dummy definition of MAP_NORESERVE for systems which doesn't provide it,
removed duplicates

my_sys.h:
  added definition for MAP_NORESERVE
  (for Irix and AIX systems)
sql_map.cc:
  removed definition of MAP_NORESERVE
mi_packrec.c:
  removed definition of MAP_NORESERVE and MMAP_PRIVATE
This commit is contained in:
vtkachenko@quadxeon.mysql.com
2005-12-19 14:16:21 +01:00
parent df0358c4cc
commit e9282ff3d0
3 changed files with 3 additions and 11 deletions

View File

@ -25,10 +25,6 @@
#include <sys/mman.h>
#endif
#ifndef MAP_NORESERVE
#define MAP_NORESERVE 0 // For IRIX
#endif
mapped_files::mapped_files(const my_string filename,byte *magic,uint magic_length)
{
#ifdef HAVE_MMAP