summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-01-28 13:35:10 +0200
committerMichael Widenius <monty@askmonty.org>2010-01-28 13:35:10 +0200
commite926af9bf8d2b00c2c31a3741f65e3d5b846dffe (patch)
treef3910ce9605223eeb0ad603d4b7d221f4b640ce7 /extra
parentef0416c14c6a6ba950990c73dd46d8e13f03ad03 (diff)
parente2efd9338574c87177e0c00273e6e49a32ce2aa6 (diff)
downloadmariadb-git-e926af9bf8d2b00c2c31a3741f65e3d5b846dffe.tar.gz
Merge with fixes for compiler warnings and 2 fixed test cases
Fixed some additional compiler warnings from OpenSolaris build. extra/libevent/devpoll.c: Fixed compiler warning mysys/my_file.c: Fixed compiler warning sql/mysqld.cc: Fixed compiler warning sql/rpl_record.cc: Removed not used variable storage/maria/ma_blockrec.c: Fixed compiler warning storage/xtradb/buf/buf0buf.c: Fixed compiler warning storage/xtradb/handler/i_s.cc: Fixed compiler warning support-files/compiler_warnings.supp: Added suppression of compiler warnings in InnoDB/XtraDB Added suppression of compiler warnings that can safely be ignored.
Diffstat (limited to 'extra')
-rw-r--r--extra/libevent/devpoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/libevent/devpoll.c b/extra/libevent/devpoll.c
index 20813380b20..82427c9e229 100644
--- a/extra/libevent/devpoll.c
+++ b/extra/libevent/devpoll.c
@@ -140,7 +140,7 @@ devpoll_init(struct event_base *base)
return (NULL);
if (getrlimit(RLIMIT_NOFILE, &rl) == 0 &&
- rl.rlim_cur != RLIM_INFINITY)
+ (unsigned long long) rl.rlim_cur != (unsigned long long) RLIM_INFINITY)
nfiles = rl.rlim_cur - 1;
/* Initialize the kernel queue */