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
f79d75fa
Commit
f79d75fa
authored
Jun 20, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-merge comment style fix
parent
099d78d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
17 deletions
+21
-17
include/my_sys.h
include/my_sys.h
+21
-17
No files found.
include/my_sys.h
View file @
f79d75fa
...
@@ -316,7 +316,7 @@ typedef struct st_io_cache_share
...
@@ -316,7 +316,7 @@ typedef struct st_io_cache_share
int
count
;
int
count
;
/* actual IO_CACHE that filled the buffer */
/* actual IO_CACHE that filled the buffer */
struct
st_io_cache
*
active
;
struct
st_io_cache
*
active
;
/* the following will
go
implemented whenever the need arises */
/* the following will
be
implemented whenever the need arises */
#ifdef NOT_IMPLEMENTED
#ifdef NOT_IMPLEMENTED
/* whether the structure should be free'd */
/* whether the structure should be free'd */
my_bool
alloced
;
my_bool
alloced
;
...
@@ -387,14 +387,18 @@ typedef struct st_io_cache /* Used when cacheing files */
...
@@ -387,14 +387,18 @@ typedef struct st_io_cache /* Used when cacheing files */
*/
*/
byte
**
current_pos
,
**
current_end
;
byte
**
current_pos
,
**
current_end
;
#ifdef THREAD
#ifdef THREAD
/* The lock is for append buffer used in SEQ_READ_APPEND cache
/*
need mutex copying from append buffer to read buffer. */
The lock is for append buffer used in SEQ_READ_APPEND cache
need mutex copying from append buffer to read buffer.
*/
pthread_mutex_t
append_buffer_lock
;
pthread_mutex_t
append_buffer_lock
;
/* The following is used when several threads are reading the
/*
The following is used when several threads are reading the
same file in parallel. They are synchronized on disk
same file in parallel. They are synchronized on disk
accesses reading the cached part of the file asynchronously.
accesses reading the cached part of the file asynchronously.
It should be set to NULL to disable the feature. Only
It should be set to NULL to disable the feature. Only
READ_CACHE mode is supported. */
READ_CACHE mode is supported.
*/
IO_CACHE_SHARE
*
share
;
IO_CACHE_SHARE
*
share
;
#endif
#endif
/*
/*
...
...
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