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
cd63f43c
Commit
cd63f43c
authored
6 years ago
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the Windows build
my_atomic_load32() expects a pointer to non-const on Windows.
parent
1fa14a7c
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
storage/innobase/include/trx0sys.h
storage/innobase/include/trx0sys.h
+2
-1
No files found.
storage/innobase/include/trx0sys.h
View file @
cd63f43c
...
@@ -1125,7 +1125,8 @@ class trx_sys_t
...
@@ -1125,7 +1125,8 @@ class trx_sys_t
/** @return number of committed transactions waiting for purge */
/** @return number of committed transactions waiting for purge */
ulint
history_size
()
const
ulint
history_size
()
const
{
{
return
uint32
(
my_atomic_load32
(
&
rseg_history_len
));
return
uint32
(
my_atomic_load32
(
&
const_cast
<
trx_sys_t
*>
(
this
)
->
rseg_history_len
));
}
}
/** Add to the TRX_RSEG_HISTORY length (on database startup). */
/** Add to the TRX_RSEG_HISTORY length (on database startup). */
void
history_add
(
int32
len
)
void
history_add
(
int32
len
)
...
...
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