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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
bc8ef579
Commit
bc8ef579
authored
Feb 21, 2007
by
kent/mysqldev@mysql.com/production.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mi_open.c:
Can only use mi_dynmap_file() if HAVE_MMAP is defined
parent
b7f0778e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
storage/myisam/mi_open.c
storage/myisam/mi_open.c
+2
-0
No files found.
storage/myisam/mi_open.c
View file @
bc8ef579
...
@@ -506,6 +506,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
...
@@ -506,6 +506,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
share
->
data_file_type
=
DYNAMIC_RECORD
;
share
->
data_file_type
=
DYNAMIC_RECORD
;
my_afree
((
gptr
)
disk_cache
);
my_afree
((
gptr
)
disk_cache
);
mi_setup_functions
(
share
);
mi_setup_functions
(
share
);
#if HAVE_MMAP
if
(
open_flags
&
HA_OPEN_MMAP
)
if
(
open_flags
&
HA_OPEN_MMAP
)
{
{
info
.
s
=
share
;
info
.
s
=
share
;
...
@@ -522,6 +523,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
...
@@ -522,6 +523,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
share
->
file_write
=
mi_mmap_pwrite
;
share
->
file_write
=
mi_mmap_pwrite
;
}
}
}
}
#endif
/* HAVE_MMAP */
share
->
is_log_table
=
FALSE
;
share
->
is_log_table
=
FALSE
;
#ifdef THREAD
#ifdef THREAD
thr_lock_init
(
&
share
->
lock
);
thr_lock_init
(
&
share
->
lock
);
...
...
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