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
08c7189c
Commit
08c7189c
authored
Feb 24, 2009
by
Vadim Tkachenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync rev46
parent
eab571f5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
handler/ha_innodb.cc
handler/ha_innodb.cc
+3
-3
include/sync0rw.ic
include/sync0rw.ic
+1
-3
No files found.
handler/ha_innodb.cc
View file @
08c7189c
...
...
@@ -9494,7 +9494,7 @@ static MYSQL_SYSVAR_ULONG(replication_delay, srv_replication_delay,
static
MYSQL_SYSVAR_LONG
(
additional_mem_pool_size
,
innobase_additional_mem_pool_size
,
PLUGIN_VAR_RQCMDARG
|
PLUGIN_VAR_READONLY
,
"Size of a memory pool InnoDB uses to store data dictionary information and other internal data structures."
,
NULL
,
NULL
,
1
*
1024
*
1024L
,
512
*
1024L
,
~
0L
,
1024
);
NULL
,
NULL
,
1
*
1024
*
1024L
,
512
*
1024L
,
LONG_MAX
,
1024
);
static
MYSQL_SYSVAR_ULONG
(
autoextend_increment
,
srv_auto_extend_increment
,
PLUGIN_VAR_RQCMDARG
,
...
...
@@ -9529,7 +9529,7 @@ static MYSQL_SYSVAR_LONG(force_recovery, innobase_force_recovery,
static
MYSQL_SYSVAR_LONG
(
log_buffer_size
,
innobase_log_buffer_size
,
PLUGIN_VAR_RQCMDARG
|
PLUGIN_VAR_READONLY
,
"The size of the buffer which InnoDB uses to write log to the log files on disk."
,
NULL
,
NULL
,
1024
*
1024L
,
256
*
1024L
,
~
0L
,
1024
);
NULL
,
NULL
,
1024
*
1024L
,
256
*
1024L
,
LONG_MAX
,
1024
);
static
MYSQL_SYSVAR_LONGLONG
(
log_file_size
,
innobase_log_file_size
,
PLUGIN_VAR_RQCMDARG
|
PLUGIN_VAR_READONLY
,
...
...
@@ -9549,7 +9549,7 @@ static MYSQL_SYSVAR_LONG(mirrored_log_groups, innobase_mirrored_log_groups,
static
MYSQL_SYSVAR_LONG
(
open_files
,
innobase_open_files
,
PLUGIN_VAR_RQCMDARG
|
PLUGIN_VAR_READONLY
,
"How many files at the maximum InnoDB keeps open at the same time."
,
NULL
,
NULL
,
300L
,
10L
,
~
0L
,
0
);
NULL
,
NULL
,
300L
,
10L
,
LONG_MAX
,
0
);
static
MYSQL_SYSVAR_ULONG
(
sync_spin_loops
,
srv_n_spin_wait_rounds
,
PLUGIN_VAR_RQCMDARG
,
...
...
include/sync0rw.ic
View file @
08c7189c
...
...
@@ -640,9 +640,7 @@ rw_lock_x_unlock_func(
But we shouldn't keep an ID of not-owner. */
lock->writer_thread = -1;
/* atomic operation may be safer about memory order. */
rw_lock_set_writer(lock, RW_LOCK_NOT_LOCKED);
__sync_synchronize();
__sync_lock_test_and_set(&(lock->writer),RW_LOCK_NOT_LOCKED);
}
#else
lock->writer_count--;
...
...
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