mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/r/key_cache.result: Auto merged mysql-test/r/ps_1general.result: Auto merged mysql-test/r/variables.result: Auto merged mysql-test/r/func_math.result: Resolve conflicts mysql-test/r/user_var.result: Resolve conflicts mysql-test/t/func_math.test: Resolve conflicts mysql-test/t/user_var.test: Resolve conflicts sql/item_func.cc: Resolve conflicts sql/sql_parse.cc: Resolve conflicts
This commit is contained in:
@ -92,7 +92,7 @@ Variable_name Value
|
||||
max_join_size HA_POS_ERROR
|
||||
set @@max_join_size=1000, @@global.max_join_size=2000;
|
||||
select @@local.max_join_size, @@global.max_join_size;
|
||||
@@session.max_join_size @@global.max_join_size
|
||||
@@local.max_join_size @@global.max_join_size
|
||||
1000 2000
|
||||
select @@identity, length(@@version)>0;
|
||||
@@identity length(@@version)>0
|
||||
@ -428,23 +428,23 @@ Variable_name Value
|
||||
myisam_max_sort_file_size MAX_FILE_SIZE
|
||||
set global myisam_max_sort_file_size=default;
|
||||
select @@global.max_user_connections,@@local.max_join_size;
|
||||
@@global.max_user_connections @@session.max_join_size
|
||||
@@global.max_user_connections @@local.max_join_size
|
||||
100 200
|
||||
set @svc=@@global.max_user_connections, @svj=@@local.max_join_size;
|
||||
select @@global.max_user_connections,@@local.max_join_size;
|
||||
@@global.max_user_connections @@session.max_join_size
|
||||
@@global.max_user_connections @@local.max_join_size
|
||||
100 200
|
||||
set @@global.max_user_connections=111,@@local.max_join_size=222;
|
||||
select @@global.max_user_connections,@@local.max_join_size;
|
||||
@@global.max_user_connections @@session.max_join_size
|
||||
@@global.max_user_connections @@local.max_join_size
|
||||
111 222
|
||||
set @@global.max_user_connections=@@local.max_join_size,@@local.max_join_size=@@global.max_user_connections;
|
||||
select @@global.max_user_connections,@@local.max_join_size;
|
||||
@@global.max_user_connections @@session.max_join_size
|
||||
@@global.max_user_connections @@local.max_join_size
|
||||
222 111
|
||||
set @@global.max_user_connections=@svc, @@local.max_join_size=@svj;
|
||||
select @@global.max_user_connections,@@local.max_join_size;
|
||||
@@global.max_user_connections @@session.max_join_size
|
||||
@@global.max_user_connections @@local.max_join_size
|
||||
100 200
|
||||
set @a=1, @b=2;
|
||||
set @a=@b, @b=@a;
|
||||
|
Reference in New Issue
Block a user