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:
@ -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
|
||||
|
Reference in New Issue
Block a user