diff options
author | unknown <tnurnberg@mysql.com/white.intern.koehntopp.de> | 2007-12-10 08:12:41 +0100 |
---|---|---|
committer | unknown <tnurnberg@mysql.com/white.intern.koehntopp.de> | 2007-12-10 08:12:41 +0100 |
commit | 1ebb563422e5650f80addc3adf08f88044b4b340 (patch) | |
tree | a2b1fc751133e0758fb6636ad87b2fbc8da6f13e /mysys/my_getopt.c | |
parent | 85eed9de26a1957f3911aaa5559d9dcdd493aa33 (diff) | |
download | mariadb-git-1ebb563422e5650f80addc3adf08f88044b4b340.tar.gz |
Bug #31177: Server variables can't be set to their current values
fixes for SLES10
mysql-test/r/change_user.result:
It's unsigned.
mysys/my_getopt.c:
Failsafe no longer needed, we handle signedness correctly now.
sql/set_var.cc:
ha_rows can be derived from all kinds of types, but
they're all unsigned. Display it as such.
tests/mysql_client_test.c:
cannot easily check this here due to types.
check with Alik whether we need this on top
of change_user.test.
Diffstat (limited to 'mysys/my_getopt.c')
-rw-r--r-- | mysys/my_getopt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c index 7691472b76a..5132ac820b8 100644 --- a/mysys/my_getopt.c +++ b/mysys/my_getopt.c @@ -892,8 +892,6 @@ ulonglong getopt_ull_limit_value(ulonglong num, const struct my_option *optp, num= ((ulonglong) ULONG_MAX); adjusted= TRUE; } -#else - num= min(num, LONG_MAX); #endif break; default: |