diff options
author | monty@mysql.com/narttu.mysql.fi <> | 2006-11-30 21:56:03 +0200 |
---|---|---|
committer | monty@mysql.com/narttu.mysql.fi <> | 2006-11-30 21:56:03 +0200 |
commit | 601e6f4b2a78921304bc1d779991c615ee229f89 (patch) | |
tree | 0a9f9390874c91b9e4430fecfbbffa72967e7b69 /innobase | |
parent | 3d4095603952aca95892d55fb1ef435132de1197 (diff) | |
download | mariadb-git-601e6f4b2a78921304bc1d779991c615ee229f89.tar.gz |
Fixed compiler warnings
Don't assert if my_thread_end() is called twice (common case)
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/os/os0file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index 075005c3611..5e5c4b19eb0 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -1718,7 +1718,7 @@ os_file_set_size( } /* Print about progress for each 100 MB written */ - if ((current_size + n_bytes) / (ib_longlong)(100 * 1024 * 1024) + if ((ib_longlong) (current_size + n_bytes) / (ib_longlong)(100 * 1024 * 1024) != current_size / (ib_longlong)(100 * 1024 * 1024)) { fprintf(stderr, " %lu00", |