trx0roll.c:

Fix compiler warning in Windows about ib_longlong to ulint conversion
This commit is contained in:
heikki@hundin.mysql.fi 2003-03-16 09:01:47 +02:00
parent c4370278a0
commit 1573226e69

View File

@ -699,9 +699,9 @@ try_again:
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,