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
f6da2b49
Commit
f6da2b49
authored
Oct 23, 2016
by
sensssz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo changes to XtraDB.
parent
0064d85d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
465 deletions
+53
-465
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+0
-29
storage/xtradb/include/lock0lock.h
storage/xtradb/include/lock0lock.h
+0
-11
storage/xtradb/include/trx0trx.h
storage/xtradb/include/trx0trx.h
+0
-2
storage/xtradb/lock/lock0lock.cc
storage/xtradb/lock/lock0lock.cc
+53
-421
storage/xtradb/trx/trx0trx.cc
storage/xtradb/trx/trx0trx.cc
+0
-2
No files found.
storage/xtradb/handler/ha_innodb.cc
View file @
f6da2b49
...
...
@@ -348,22 +348,6 @@ static TYPELIB innodb_empty_free_list_algorithm_typelib = {
NULL
};
/** Possible values of the parameter innodb_lock_schedule_algorithm */
static
const
char
*
innodb_lock_schedule_algorithm_names
[]
=
{
"fcfs"
,
"vats"
,
NullS
};
/** Used to define an enumerate type of the system variable
innodb_lock_schedule_algorithm. */
static
TYPELIB
innodb_lock_schedule_algorithm_typelib
=
{
array_elements
(
innodb_lock_schedule_algorithm_names
)
-
1
,
"innodb_lock_schedule_algorithm_typelib"
,
innodb_lock_schedule_algorithm_names
,
NULL
};
/* The following counter is used to convey information to InnoDB
about server activity: in case of normal DML ops it is not
sensible to call srv_active_wake_master_thread after each
...
...
@@ -20406,18 +20390,6 @@ static MYSQL_SYSVAR_ENUM(empty_free_list_algorithm,
innodb_srv_empty_free_list_algorithm_validate
,
NULL
,
SRV_EMPTY_FREE_LIST_BACKOFF
,
&
innodb_empty_free_list_algorithm_typelib
);
static
MYSQL_SYSVAR_ENUM
(
lock_schedule_algorithm
,
innodb_lock_schedule_algorithm
,
PLUGIN_VAR_RQCMDARG
,
"The algorithm Innodb uses for deciding which locks to grant next when"
" a lock is released. Possible values are"
" FCFS"
" grant the locks in First-Come-First-Served order;"
" VATS"
" use the Variance-Aware-Transaction-Scheduling algorithm, which"
" uses an Eldest-Transaction-First heuristic."
,
NULL
,
NULL
,
INNODB_LOCK_SCHEDULE_ALGORITHM_FCFS
,
&
innodb_lock_schedule_algorithm_typelib
);
static
MYSQL_SYSVAR_LONG
(
buffer_pool_instances
,
innobase_buffer_pool_instances
,
PLUGIN_VAR_RQCMDARG
|
PLUGIN_VAR_READONLY
,
"Number of buffer pool instances, set to higher value on high-end machines to increase scalability"
,
...
...
@@ -21311,7 +21283,6 @@ static struct st_mysql_sys_var* innobase_system_variables[]= {
MYSQL_SYSVAR
(
ft_sort_pll_degree
),
MYSQL_SYSVAR
(
large_prefix
),
MYSQL_SYSVAR
(
force_load_corrupted
),
MYSQL_SYSVAR
(
lock_schedule_algorithm
),
MYSQL_SYSVAR
(
locks_unsafe_for_binlog
),
MYSQL_SYSVAR
(
lock_wait_timeout
),
#ifdef UNIV_LOG_ARCHIVE
...
...
storage/xtradb/include/lock0lock.h
View file @
f6da2b49
...
...
@@ -47,17 +47,6 @@ extern ibool lock_print_waits;
extern
ulint
srv_n_lock_deadlock_count
;
/** Alternatives for innodb_lock_schedule_algorithm, which can be changed by
setting innodb_lock_schedule_algorithm. */
enum
innodb_lock_schedule_algorithm_t
{
/*!< First Come First Served */
INNODB_LOCK_SCHEDULE_ALGORITHM_FCFS
,
/*!< Variance-Aware-Transaction-Scheduling */
INNODB_LOCK_SCHEDULE_ALGORITHM_VATS
};
extern
ulong
innodb_lock_schedule_algorithm
;
/*********************************************************************//**
Gets the size of a lock struct.
@return size in bytes */
...
...
storage/xtradb/include/trx0trx.h
View file @
f6da2b49
...
...
@@ -876,8 +876,6 @@ struct trx_t{
time_t
start_time
;
/*!< time the trx state last time became
TRX_STATE_ACTIVE */
clock_t
start_time_micro
;
/*!< start time of the transaction
in microseconds. */
trx_id_t
id
;
/*!< transaction id */
XID
xid
;
/*!< X/Open XA transaction
identification to identify a
...
...
storage/xtradb/lock/lock0lock.cc
View file @
f6da2b49
This diff is collapsed.
Click to expand it.
storage/xtradb/trx/trx0trx.cc
View file @
f6da2b49
...
...
@@ -1117,8 +1117,6 @@ trx_start_low(
trx
->
start_time
=
ut_time
();
trx
->
start_time_micro
=
clock
();
MONITOR_INC
(
MONITOR_TRX_ACTIVE
);
}
...
...
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