Fixed c++11 narrowing error in table.cc

This commit is contained in:
Monty 2019-05-29 15:14:09 +03:00
parent e99ed820d7
commit 7060b0320d

View file

@ -8813,7 +8813,7 @@ bool TR_table::update(ulonglong start_id, ulonglong end_id)
store(FLD_BEGIN_TS, thd->transaction_time());
thd->set_time();
timeval end_time= {thd->query_start(), long(thd->query_start_sec_part())};
timeval end_time= {thd->query_start(), int(thd->query_start_sec_part())};
store(FLD_TRX_ID, start_id);
store(FLD_COMMIT_ID, end_id);
store(FLD_COMMIT_TS, end_time);