summaryrefslogtreecommitdiff
path: root/sql/sql_map.cc
diff options
context:
space:
mode:
authorunknown <vtkachenko@quadxeon.mysql.com>2005-12-19 14:16:21 +0100
committerunknown <vtkachenko@quadxeon.mysql.com>2005-12-19 14:16:21 +0100
commitec7a7ac27832c3f4a81d863b03f1ce48b9607e8d (patch)
tree6788f9806a8c72dd93f39cf381f259bd4c67fc78 /sql/sql_map.cc
parent32279956f629edc53ba5ab59af18ba9f0caa8bfc (diff)
downloadmariadb-git-ec7a7ac27832c3f4a81d863b03f1ce48b9607e8d.tar.gz
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 storage/myisam/mi_packrec.c: removed definition of MAP_NORESERVE and MMAP_PRIVATE sql/sql_map.cc: removed definition of MAP_NORESERVE include/my_sys.h: added definition for MAP_NORESERVE (for Irix and AIX systems)
Diffstat (limited to 'sql/sql_map.cc')
-rw-r--r--sql/sql_map.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/sql_map.cc b/sql/sql_map.cc
index 56b4b765355..8376b3bbfcc 100644
--- a/sql/sql_map.cc
+++ b/sql/sql_map.cc
@@ -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