Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5b2fa078
Commit
5b2fa078
authored
Oct 02, 2019
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup mman.h includes
As it is included from my_global.h already.
parent
716c748f
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
0 additions
and
39 deletions
+0
-39
include/my_sys.h
include/my_sys.h
+0
-2
mysys/my_lockmem.c
mysys/my_lockmem.c
+0
-1
sql/mysqld.cc
sql/mysqld.cc
+0
-5
sql/sql_cache.cc
sql/sql_cache.cc
+0
-3
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+0
-1
storage/innobase/include/ut0new.h
storage/innobase/include/ut0new.h
+0
-3
storage/maria/ma_check.c
storage/maria/ma_check.c
+0
-3
storage/maria/ma_extra.c
storage/maria/ma_extra.c
+0
-3
storage/maria/ma_packrec.c
storage/maria/ma_packrec.c
+0
-3
storage/maria/maria_chk.c
storage/maria/maria_chk.c
+0
-3
storage/myisam/mi_check.c
storage/myisam/mi_check.c
+0
-3
storage/myisam/mi_extra.c
storage/myisam/mi_extra.c
+0
-3
storage/myisam/mi_packrec.c
storage/myisam/mi_packrec.c
+0
-3
storage/myisam/myisamchk.c
storage/myisam/myisamchk.c
+0
-3
No files found.
include/my_sys.h
View file @
5b2fa078
...
@@ -964,8 +964,6 @@ extern ulonglong my_getcputime(void);
...
@@ -964,8 +964,6 @@ extern ulonglong my_getcputime(void);
#endif
#endif
#ifdef HAVE_SYS_MMAN_H
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#ifndef MAP_NOSYNC
#ifndef MAP_NOSYNC
#define MAP_NOSYNC 0
#define MAP_NOSYNC 0
#endif
#endif
...
...
mysys/my_lockmem.c
View file @
5b2fa078
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include <my_list.h>
#include <my_list.h>
#ifdef HAVE_MLOCK
#ifdef HAVE_MLOCK
#include <sys/mman.h>
struct
st_mem_list
struct
st_mem_list
{
{
...
...
sql/mysqld.cc
View file @
5b2fa078
...
@@ -157,16 +157,11 @@ extern "C" { // Because of SCO 3.2V4.2
...
@@ -157,16 +157,11 @@ extern "C" { // Because of SCO 3.2V4.2
#include <my_libwrap.h>
#include <my_libwrap.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#ifdef __WIN__
#ifdef __WIN__
#include <crtdbg.h>
#include <crtdbg.h>
#endif
#endif
#ifdef HAVE_SOLARIS_LARGE_PAGES
#ifdef HAVE_SOLARIS_LARGE_PAGES
#include <sys/mman.h>
#if defined(__sun__) && defined(__GNUC__) && defined(__cplusplus) \
#if defined(__sun__) && defined(__GNUC__) && defined(__cplusplus) \
&& defined(_XOPEN_SOURCE)
&& defined(_XOPEN_SOURCE)
extern
int
getpagesizes
(
size_t
*
,
int
);
extern
int
getpagesizes
(
size_t
*
,
int
);
...
...
sql/sql_cache.cc
View file @
5b2fa078
...
@@ -329,9 +329,6 @@ TODO list:
...
@@ -329,9 +329,6 @@ TODO list:
*/
*/
#include "mariadb.h"
/* NO_EMBEDDED_ACCESS_CHECKS */
#include "mariadb.h"
/* NO_EMBEDDED_ACCESS_CHECKS */
#if defined(DBUG_OFF) && defined(HAVE_MADVISE)
#include <sys/mman.h>
#endif
#include "sql_priv.h"
#include "sql_priv.h"
#include "sql_basic_types.h"
#include "sql_basic_types.h"
#include "sql_cache.h"
#include "sql_cache.h"
...
...
storage/innobase/include/univ.i
View file @
5b2fa078
...
@@ -92,7 +92,6 @@ support cross-platform development and expose comonly used SQL names. */
...
@@ -92,7 +92,6 @@ support cross-platform development and expose comonly used SQL names. */
#
include
<
sys
/
stat
.
h
>
#
include
<
sys
/
stat
.
h
>
#
ifndef
_WIN32
#
ifndef
_WIN32
#
include
<
sys
/
mman
.
h
>
/* mmap() for os0proc.cc */
#
include
<
sched
.
h
>
#
include
<
sched
.
h
>
#
include
"my_config.h"
#
include
"my_config.h"
#
endif
#
endif
...
...
storage/innobase/include/ut0new.h
View file @
5b2fa078
...
@@ -129,9 +129,6 @@ with (), thus:
...
@@ -129,9 +129,6 @@ with (), thus:
#include <string.h>
/* strlen(), strrchr(), strncmp() */
#include <string.h>
/* strlen(), strrchr(), strncmp() */
#include "my_global.h"
/* needed for headers from mysql/psi/ */
#include "my_global.h"
/* needed for headers from mysql/psi/ */
#if !defined(DBUG_OFF) && defined(HAVE_MADVISE)
#include <sys/mman.h>
#endif
/* JAN: TODO: missing 5.7 header */
/* JAN: TODO: missing 5.7 header */
#ifdef HAVE_MYSQL_MEMORY_H
#ifdef HAVE_MYSQL_MEMORY_H
...
...
storage/maria/ma_check.c
View file @
5b2fa078
...
@@ -52,9 +52,6 @@
...
@@ -52,9 +52,6 @@
#ifdef HAVE_SYS_VADVISE_H
#ifdef HAVE_SYS_VADVISE_H
#include <sys/vadvise.h>
#include <sys/vadvise.h>
#endif
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
/* Functions defined in this file */
/* Functions defined in this file */
...
...
storage/maria/ma_extra.c
View file @
5b2fa078
...
@@ -14,9 +14,6 @@
...
@@ -14,9 +14,6 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
#include "maria_def.h"
#include "maria_def.h"
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include "ma_blockrec.h"
#include "ma_blockrec.h"
static
void
maria_extra_keyflag
(
MARIA_HA
*
info
,
static
void
maria_extra_keyflag
(
MARIA_HA
*
info
,
...
...
storage/maria/ma_packrec.c
View file @
5b2fa078
...
@@ -1528,9 +1528,6 @@ static uint max_bit(register uint value)
...
@@ -1528,9 +1528,6 @@ static uint max_bit(register uint value)
/*****************************************************************************
/*****************************************************************************
Some redefined functions to handle files when we are using memmap
Some redefined functions to handle files when we are using memmap
*****************************************************************************/
*****************************************************************************/
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#ifdef HAVE_MMAP
#ifdef HAVE_MMAP
...
...
storage/maria/maria_chk.c
View file @
5b2fa078
...
@@ -23,9 +23,6 @@
...
@@ -23,9 +23,6 @@
#include <my_getopt.h>
#include <my_getopt.h>
#include <my_check_opt.h>
#include <my_check_opt.h>
#include <my_handler_errors.h>
#include <my_handler_errors.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
static
uint
decode_bits
;
static
uint
decode_bits
;
static
char
**
default_argv
;
static
char
**
default_argv
;
...
...
storage/myisam/mi_check.c
View file @
5b2fa078
...
@@ -46,9 +46,6 @@
...
@@ -46,9 +46,6 @@
#ifdef HAVE_SYS_VADVISE_H
#ifdef HAVE_SYS_VADVISE_H
#include <sys/vadvise.h>
#include <sys/vadvise.h>
#endif
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include "rt_index.h"
#include "rt_index.h"
#include <mysqld_error.h>
#include <mysqld_error.h>
...
...
storage/myisam/mi_extra.c
View file @
5b2fa078
...
@@ -15,9 +15,6 @@
...
@@ -15,9 +15,6 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
#include "myisamdef.h"
#include "myisamdef.h"
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
static
void
mi_extra_keyflag
(
MI_INFO
*
info
,
enum
ha_extra_function
function
);
static
void
mi_extra_keyflag
(
MI_INFO
*
info
,
enum
ha_extra_function
function
);
...
...
storage/myisam/mi_packrec.c
View file @
5b2fa078
...
@@ -1479,9 +1479,6 @@ static uint max_bit(register uint value)
...
@@ -1479,9 +1479,6 @@ static uint max_bit(register uint value)
/*****************************************************************************
/*****************************************************************************
Some redefined functions to handle files when we are using memmap
Some redefined functions to handle files when we are using memmap
*****************************************************************************/
*****************************************************************************/
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#ifdef HAVE_MMAP
#ifdef HAVE_MMAP
...
...
storage/myisam/myisamchk.c
View file @
5b2fa078
...
@@ -21,9 +21,6 @@
...
@@ -21,9 +21,6 @@
#include <stdarg.h>
#include <stdarg.h>
#include <my_getopt.h>
#include <my_getopt.h>
#include <my_bit.h>
#include <my_bit.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
static
uint
decode_bits
;
static
uint
decode_bits
;
static
char
**
default_argv
;
static
char
**
default_argv
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment