Commit daca468c authored by Alexey Botchkov's avatar Alexey Botchkov

MDEV-32243 Make older compilers happy with log.h.

Fix the Cache_flip_event_log constructor.
parent 970c885d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment