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
a24e6258
Commit
a24e6258
authored
Oct 23, 2016
by
sensssz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change all space indentions to tab.
parent
fd30d07f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
278 additions
and
280 deletions
+278
-280
storage/innobase/include/lock0lock.h
storage/innobase/include/lock0lock.h
+5
-5
storage/innobase/lock/lock0lock.cc
storage/innobase/lock/lock0lock.cc
+270
-271
storage/innobase/trx/trx0trx.cc
storage/innobase/trx/trx0trx.cc
+3
-4
No files found.
storage/innobase/include/lock0lock.h
View file @
a24e6258
...
...
@@ -41,12 +41,12 @@ Created 5/7/1996 Heikki Tuuri
#include "lock0prdt.h"
/** Alternatives for innodb_lock_schedule_algorithm, which can be changed by
setting innodb_lock_schedule_algorithm. */
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
/*!< First Come First Served */
INNODB_LOCK_SCHEDULE_ALGORITHM_FCFS
,
/*!< Variance-Aware-Transaction-Scheduling */
INNODB_LOCK_SCHEDULE_ALGORITHM_VATS
};
extern
ulong
innodb_lock_schedule_algorithm
;
...
...
storage/innobase/lock/lock0lock.cc
View file @
a24e6258
This diff is collapsed.
Click to expand it.
storage/innobase/trx/trx0trx.cc
View file @
a24e6258
...
...
@@ -60,7 +60,6 @@ Created 3/26/1996 Heikki Tuuri
#include "ut0pool.h"
#include "ut0vec.h"
#include <inttypes.h>
#include <set>
#include <new>
...
...
@@ -1445,7 +1444,7 @@ trx_start_low(
ut_ad
(
trx_sys_validate_trx_list
());
trx_sys_mutex_exit
();
trx_sys_mutex_exit
();
}
else
{
trx
->
id
=
0
;
...
...
@@ -1485,11 +1484,11 @@ trx_start_low(
}
else
{
trx
->
start_time
=
ut_time
();
}
trx
->
start_time_micro
=
clock
();
trx
->
start_time_micro
=
clock
();
ut_a
(
trx
->
error_state
==
DB_SUCCESS
);
MONITOR_INC
(
MONITOR_TRX_ACTIVE
);
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