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
79a9a40d
Commit
79a9a40d
authored
Jun 14, 2014
by
John Esmet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FT-261 Don't clone an empty live root transaction OMT
parent
d8358af7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ft/txn_manager.cc
ft/txn_manager.cc
+5
-1
No files found.
ft/txn_manager.cc
View file @
79a9a40d
...
@@ -339,7 +339,11 @@ int live_root_txn_list_iter(const TOKUTXN &live_xid, const uint32_t UU(index), T
...
@@ -339,7 +339,11 @@ int live_root_txn_list_iter(const TOKUTXN &live_xid, const uint32_t UU(index), T
// Create list of root transactions that were live when this txn began.
// Create list of root transactions that were live when this txn began.
static
inline
void
static
inline
void
setup_live_root_txn_list
(
xid_omt_t
*
live_root_txnid
,
xid_omt_t
*
live_root_txn_list
)
{
setup_live_root_txn_list
(
xid_omt_t
*
live_root_txnid
,
xid_omt_t
*
live_root_txn_list
)
{
if
(
live_root_txnid
->
size
()
>
0
)
{
live_root_txn_list
->
clone
(
*
live_root_txnid
);
live_root_txn_list
->
clone
(
*
live_root_txnid
);
}
else
{
live_root_txn_list
->
create_no_array
();
}
}
}
//Heaviside function to search through an OMT by a TXNID
//Heaviside function to search through an OMT by a TXNID
...
...
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