• unknown's avatar
    Bug fix for bug #15843 "Added mmap support in myisam creates compile problem · f9dc6584
    unknown authored
    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)
    f9dc6584
sql_map.cc 3.35 KB