mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
0ba100d303
Leopard. The change_user test failed because results of some statements depended on platform and server build flags. subselect_notembedded failure was a result of a bad merge from 5.0. Fixed the corresponding test cases. mysql-test/r/change_user.result: Fixed the test case. mysql-test/r/subselect.result: Fixed the test case. mysql-test/r/subselect_notembedded.result: Fixed the test case. mysql-test/t/change_user.test: Fixed the test case. mysql-test/t/subselect.test: Fixed the test case. mysql-test/t/subselect_notembedded.test: Fixed the test case.
46 lines
997 B
Text
46 lines
997 B
Text
Bug#20023
|
|
SELECT @@session.sql_big_selects;
|
|
@@session.sql_big_selects
|
|
1
|
|
SELECT @@global.max_join_size;
|
|
@@global.max_join_size
|
|
HA_POS_ERROR
|
|
change_user
|
|
SELECT @@session.sql_big_selects;
|
|
@@session.sql_big_selects
|
|
1
|
|
SELECT @@global.max_join_size;
|
|
@@global.max_join_size
|
|
HA_POS_ERROR
|
|
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
|