Skip to content

Commit 7060b03

Browse files
committed
Fixed c++11 narrowing error in table.cc
1 parent e99ed82 commit 7060b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/table.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8813,7 +8813,7 @@ bool TR_table::update(ulonglong start_id, ulonglong end_id)
88138813

88148814
store(FLD_BEGIN_TS, thd->transaction_time());
88158815
thd->set_time();
8816-
timeval end_time= {thd->query_start(), long(thd->query_start_sec_part())};
8816+
timeval end_time= {thd->query_start(), int(thd->query_start_sec_part())};
88178817
store(FLD_TRX_ID, start_id);
88188818
store(FLD_COMMIT_ID, end_id);
88198819
store(FLD_COMMIT_TS, end_time);

0 commit comments

Comments
 (0)