Commit fa6d7e4e authored by Sergei Golubchik's avatar Sergei Golubchik

compilation error

extended initializers are only allowed since c++11
parent f65ba9ae
...@@ -3879,9 +3879,9 @@ Statement::Statement(LEX *lex_arg, MEM_ROOT *mem_root_arg, ...@@ -3879,9 +3879,9 @@ Statement::Statement(LEX *lex_arg, MEM_ROOT *mem_root_arg,
id(id_arg), id(id_arg),
column_usage(MARK_COLUMNS_READ), column_usage(MARK_COLUMNS_READ),
lex(lex_arg), lex(lex_arg),
hr_prepare_time({0}),
db(null_clex_str) db(null_clex_str)
{ {
hr_prepare_time.val= 0,
name= null_clex_str; name= null_clex_str;
} }
......
...@@ -1482,8 +1482,7 @@ bool Table_triggers_list::check_n_load(THD *thd, const LEX_CSTRING *db, ...@@ -1482,8 +1482,7 @@ bool Table_triggers_list::check_n_load(THD *thd, const LEX_CSTRING *db,
trigger->sql_mode= sql_mode; trigger->sql_mode= sql_mode;
trigger->definition= *trg_create_str; trigger->definition= *trg_create_str;
trigger->hr_create_time= trigger->hr_create_time.val= trg_create_time ? *trg_create_time : 0;
my_hrtime_t({trg_create_time ? *trg_create_time : 0});
/* /*
Fix time if in 100th of second (comparison with max uint * 100 Fix time if in 100th of second (comparison with max uint * 100
(max possible timestamp in the old format)) (max possible timestamp in the old format))
......
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