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
8536c541
Commit
8536c541
authored
Sep 15, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #71 basic lock tree visualization
parent
aa07e4bd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
396 additions
and
46 deletions
+396
-46
storage/tokudb/hatoku_defines.h
storage/tokudb/hatoku_defines.h
+7
-2
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+389
-44
No files found.
storage/tokudb/hatoku_defines.h
View file @
8536c541
...
...
@@ -330,9 +330,14 @@ static inline void make_name(char *newname, const char *tablename, const char *d
}
static
inline
int
txn_begin
(
DB_ENV
*
env
,
DB_TXN
*
parent
,
DB_TXN
**
txn
,
uint32_t
flags
,
THD
*
thd
)
{
*
txn
=
NULL
;
int
r
=
env
->
txn_begin
(
env
,
parent
,
txn
,
flags
);
if
((
tokudb_debug
&
TOKUDB_DEBUG_TXN
)
&&
r
==
0
)
{
TOKUDB_TRACE
(
"begin txn %p %p %u
\n
"
,
parent
,
*
txn
,
flags
);
if
(
r
==
0
&&
thd
)
{
DB_TXN
*
this_txn
=
*
txn
;
this_txn
->
set_client_id
(
this_txn
,
thd_get_thread_id
(
thd
));
}
if
((
tokudb_debug
&
TOKUDB_DEBUG_TXN
))
{
TOKUDB_TRACE
(
"begin txn %p %p %u r=%d
\n
"
,
parent
,
*
txn
,
flags
,
r
);
}
return
r
;
}
...
...
storage/tokudb/hatoku_hton.cc
View file @
8536c541
This diff is collapsed.
Click to expand it.
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