summaryrefslogtreecommitdiff
path: root/sql/sys_vars.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-08-17 10:01:19 +0300
committerMichael Widenius <monty@askmonty.org>2012-08-17 10:01:19 +0300
commit89036b9f8a0824ead608bf1ff8120f5f7101031e (patch)
tree9524d83c8258e0ddef7d19cdd93bfe57e553013a /sql/sys_vars.h
parenta1bc3936304ae9fca8cbe5ebeb51c8f626fbd87b (diff)
downloadmariadb-git-89036b9f8a0824ead608bf1ff8120f5f7101031e.tar.gz
Fixed compiler warnings
Fixed error in test that caused following tests to fail extra/yassl/taocrypt/src/dsa.cpp: Fixed compiler warning by adding cast mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test: We have to first test for have_debug_sync to not start master wrongly plugin/auth_pam/auth_pam.c: Fixed compiler warning sql/sys_vars.h: Fixed compiler warning (Sys_var_max_user_conn is now signed) support-files/compiler_warnings.supp: Don't give warnings for auth_pam.c (Tried to fix it by changing the code, but could not find an easy way to do that on solaris)
Diffstat (limited to 'sql/sys_vars.h')
-rw-r--r--sql/sys_vars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.h b/sql/sys_vars.h
index 5bec56a78cc..21bebcd762c 100644
--- a/sql/sys_vars.h
+++ b/sql/sys_vars.h
@@ -959,7 +959,7 @@ public:
Sys_var_max_user_conn(const char *name_arg,
const char *comment, int flag_args, ptrdiff_t off, size_t size,
CMD_LINE getopt,
- uint min_val, uint max_val, uint def_val,
+ int min_val, int max_val, int def_val,
uint block_size, PolyLock *lock=0,
enum binlog_status_enum binlog_status_arg=VARIABLE_NOT_IN_BINLOG,
on_check_function on_check_func=0,