2007-10-16 17:29:22 +02:00
|
|
|
Bug#20023
|
|
|
|
SELECT @@session.sql_big_selects;
|
|
|
|
@@session.sql_big_selects
|
|
|
|
1
|
|
|
|
SELECT @@global.max_join_size;
|
|
|
|
@@global.max_join_size
|
2008-03-07 19:14:34 +01:00
|
|
|
HA_POS_ERROR
|
2007-10-16 17:29:22 +02:00
|
|
|
change_user
|
|
|
|
SELECT @@session.sql_big_selects;
|
|
|
|
@@session.sql_big_selects
|
|
|
|
1
|
|
|
|
SELECT @@global.max_join_size;
|
|
|
|
@@global.max_join_size
|
2008-03-07 19:14:34 +01:00
|
|
|
HA_POS_ERROR
|
2007-10-16 17:29:22 +02:00
|
|
|
SET @@global.max_join_size = 10000;
|
|
|
|
SET @@session.max_join_size = default;
|
|
|
|
change_user
|
|
|
|
SELECT @@session.sql_big_selects;
|
|
|
|
@@session.sql_big_selects
|
|
|
|
0
|
2009-12-22 10:35:56 +01:00
|
|
|
SET @@global.max_join_size = 18446744073709551615;
|
2007-10-16 17:29:22 +02:00
|
|
|
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
|
2007-10-17 21:43:30 +02:00
|
|
|
SELECT IS_USED_LOCK('bug31418') = CONNECTION_ID();
|
|
|
|
IS_USED_LOCK('bug31418') = CONNECTION_ID()
|
2007-10-16 17:29:22 +02:00
|
|
|
1
|
|
|
|
change_user
|
|
|
|
SELECT IS_FREE_LOCK('bug31418');
|
|
|
|
IS_FREE_LOCK('bug31418')
|
|
|
|
1
|
|
|
|
SELECT IS_USED_LOCK('bug31418');
|
|
|
|
IS_USED_LOCK('bug31418')
|
|
|
|
NULL
|
2009-01-15 10:56:05 +01:00
|
|
|
FLUSH STATUS;
|
2009-02-01 01:04:57 +01:00
|
|
|
Value of com_select did not change
|