diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-03-16 09:01:47 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-03-16 09:01:47 +0200 |
commit | f08688c5ee2aed851f92393b06b1b704ef0dd118 (patch) | |
tree | bc7c30a86bc9fc7b37922ad88dea4ff34bc3ada7 /innobase/trx | |
parent | 3ce965da7a598ba56339d497cc07cd27c5c51e24 (diff) | |
download | mariadb-git-f08688c5ee2aed851f92393b06b1b704ef0dd118.tar.gz |
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
Diffstat (limited to 'innobase/trx')
-rw-r--r-- | innobase/trx/trx0roll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/innobase/trx/trx0roll.c b/innobase/trx/trx0roll.c index deaee16b7cc..a9f8c5ad22c 100644 --- a/innobase/trx/trx0roll.c +++ b/innobase/trx/trx0roll.c @@ -699,9 +699,9 @@ try_again: and the transaction has at least 1000 row operations to undo */ if (srv_is_being_started && trx_roll_max_undo_no > 1000) { - progress_pct = 100 - - (ut_conv_dulint_to_longlong(undo_no) * 100) - / trx_roll_max_undo_no; + progress_pct = 100 - (ulint) + ((ut_conv_dulint_to_longlong(undo_no) * 100) + / trx_roll_max_undo_no); if (progress_pct != trx_roll_progress_printed_pct) { if (trx_roll_progress_printed_pct == 0) { fprintf(stderr, |