Commit 855b6584 authored by unknown's avatar unknown

trx0roll.c:

  Fix compiler warning in Windows about ib_longlong to ulint conversion


innobase/trx/trx0roll.c:
  Fix compiler warning in Windows about ib_longlong to ulint conversion
parent c1733bc3
...@@ -699,9 +699,9 @@ trx_roll_pop_top_rec_of_trx( ...@@ -699,9 +699,9 @@ trx_roll_pop_top_rec_of_trx(
and the transaction has at least 1000 row operations to undo */ and the transaction has at least 1000 row operations to undo */
if (srv_is_being_started && trx_roll_max_undo_no > 1000) { if (srv_is_being_started && trx_roll_max_undo_no > 1000) {
progress_pct = 100 - progress_pct = 100 - (ulint)
(ut_conv_dulint_to_longlong(undo_no) * 100) ((ut_conv_dulint_to_longlong(undo_no) * 100)
/ trx_roll_max_undo_no; / trx_roll_max_undo_no);
if (progress_pct != trx_roll_progress_printed_pct) { if (progress_pct != trx_roll_progress_printed_pct) {
if (trx_roll_progress_printed_pct == 0) { if (trx_roll_progress_printed_pct == 0) {
fprintf(stderr, fprintf(stderr,
......
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