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
daca468c
Commit
daca468c
authored
Sep 25, 2023
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-32243 Make older compilers happy with log.h.
Fix the Cache_flip_event_log constructor.
parent
970c885d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/log.h
sql/log.h
+3
-2
No files found.
sql/log.h
View file @
daca468c
...
...
@@ -448,9 +448,10 @@ class Cache_flip_event_log: public Event_log {
IO_CACHE
*
current
,
*
alt
;
std
::
atomic
<
uint
>
ref_count
;
public:
Cache_flip_event_log
()
:
Event_log
(),
current
(
&
log_file
),
alt
(
&
alt_buf
),
ref_count
(
1
)
{
my_b_clear
(
&
alt_buf
);
}
Cache_flip_event_log
()
:
Event_log
(),
alt_buf
{},
current
(
&
log_file
),
alt
(
&
alt_buf
),
ref_count
(
1
)
{}
bool
open
(
enum
cache_type
io_cache_type_arg
)
{
log_file
.
dir
=
mysql_tmpdir
;
...
...
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