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 /tests | |
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 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 409d67faf90..9b7812838bd 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -16990,6 +16990,12 @@ static void test_bug20023() Check that SQL_BIG_SELECTS will be the original one. ***********************************************************************/ +#if NOT_USED + /* + max_join_size is a ulong or better. + my_snprintf() only goes up to ul. + */ + /* Restore MAX_JOIN_SIZE. */ my_snprintf(query_buffer, @@ -16998,6 +17004,11 @@ static void test_bug20023() (int) max_join_size_orig); DIE_IF(mysql_query(&con, query_buffer)); + +#else + DIE_IF(mysql_query(&con, "SET @@global.max_join_size = -1")); +#endif + DIE_IF(mysql_query(&con, "SET @@session.max_join_size = default")); /* Issue COM_CHANGE_USER. */ |