mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
1ebb563422
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.
46 lines
1,013 B
Text
46 lines
1,013 B
Text
Bug#20023
|
|
SELECT @@session.sql_big_selects;
|
|
@@session.sql_big_selects
|
|
1
|
|
SELECT @@global.max_join_size;
|
|
@@global.max_join_size
|
|
18446744073709551615
|
|
change_user
|
|
SELECT @@session.sql_big_selects;
|
|
@@session.sql_big_selects
|
|
1
|
|
SELECT @@global.max_join_size;
|
|
@@global.max_join_size
|
|
18446744073709551615
|
|
SET @@global.max_join_size = 10000;
|
|
SET @@session.max_join_size = default;
|
|
change_user
|
|
SELECT @@session.sql_big_selects;
|
|
@@session.sql_big_selects
|
|
0
|
|
SET @@global.max_join_size = -1;
|
|
SET @@session.max_join_size = default;
|
|
change_user
|
|
SELECT @@session.sql_big_selects;
|
|
@@session.sql_big_selects
|
|
1
|
|
Bug#31418
|
|
SELECT IS_FREE_LOCK('bug31418');
|
|
IS_FREE_LOCK('bug31418')
|
|
1
|
|
SELECT IS_USED_LOCK('bug31418');
|
|
IS_USED_LOCK('bug31418')
|
|
NULL
|
|
SELECT GET_LOCK('bug31418', 1);
|
|
GET_LOCK('bug31418', 1)
|
|
1
|
|
SELECT IS_USED_LOCK('bug31418') = CONNECTION_ID();
|
|
IS_USED_LOCK('bug31418') = CONNECTION_ID()
|
|
1
|
|
change_user
|
|
SELECT IS_FREE_LOCK('bug31418');
|
|
IS_FREE_LOCK('bug31418')
|
|
1
|
|
SELECT IS_USED_LOCK('bug31418');
|
|
IS_USED_LOCK('bug31418')
|
|
NULL
|