polardbxengine/mysql-test/suite/x/r/mysqlx_server_var.result

296 lines
13 KiB
Plaintext

# System Variables Testing
SET GLOBAL mysqlx_idle_worker_thread_timeout=7;
SET @@global.mysqlx_idle_worker_thread_timeout=7;
show variables like 'mysqlx_idle_worker_thread_timeout';
Variable_name Value
mysqlx_idle_worker_thread_timeout 7
SET @@global.mysqlx_idle_worker_thread_timeout=3600;
show variables like 'mysqlx_idle_worker_thread_timeout';
Variable_name Value
mysqlx_idle_worker_thread_timeout 3600
SET mysqlx_idle_worker_thread_timeout=7;
ERROR HY000: Variable 'mysqlx_idle_worker_thread_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.mysqlx_idle_worker_thread_timeout=7;
ERROR HY000: Variable 'mysqlx_idle_worker_thread_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@mysqlx_idle_worker_thread_timeout=7;
ERROR HY000: Variable 'mysqlx_idle_worker_thread_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@session.mysqlx_idle_worker_thread_timeout=7;
ERROR HY000: Variable 'mysqlx_idle_worker_thread_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION mysqlx_idle_worker_thread_timeout=7;
ERROR HY000: Variable 'mysqlx_idle_worker_thread_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@global.mysqlx_idle_worker_thread_timeout=3601;
Warnings:
Warning 1292 Truncated incorrect mysqlx_idle_worker_thread_timeou value: '3601'
SET GLOBAL mysqlx_idle_worker_thread_timeout=0;
SET GLOBAL mysqlx_idle_worker_thread_timeout=-1;
Warnings:
Warning 1292 Truncated incorrect mysqlx_idle_worker_thread_timeou value: '-1'
SET GLOBAL mysqlx_idle_worker_thread_timeout='invaid%char';
ERROR 42000: Incorrect argument type to variable 'mysqlx_idle_worker_thread_timeout'
show variables like 'mysqlx_idle_worker_thread_timeout';
Variable_name Value
mysqlx_idle_worker_thread_timeout 0
SET GLOBAL mysqlx_idle_worker_thread_timeout=60;
SET GLOBAL mysqlx_max_allowed_packet=5000000;
SET @@global.mysqlx_max_allowed_packet=7000000;
show variables like 'mysqlx_max_allowed_packet';
Variable_name Value
mysqlx_max_allowed_packet 7000000
SET mysqlx_max_allowed_packet=5000000;
ERROR HY000: Variable 'mysqlx_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.mysqlx_max_allowed_packet=5000000;
ERROR HY000: Variable 'mysqlx_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
SET @@mysqlx_max_allowed_packet=5000000;
ERROR HY000: Variable 'mysqlx_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
SET @@session.mysqlx_max_allowed_packet=5000000;
ERROR HY000: Variable 'mysqlx_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION mysqlx_max_allowed_packet=5000000;
ERROR HY000: Variable 'mysqlx_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
SET @@global.mysqlx_max_allowed_packet=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_max_allowed_packet value: '0'
SET @@global.mysqlx_max_allowed_packet=-123;
Warnings:
Warning 1292 Truncated incorrect mysqlx_max_allowed_packet value: '-123'
SET @@global.mysqlx_max_allowed_packet='crash#$%';
ERROR 42000: Incorrect argument type to variable 'mysqlx_max_allowed_packet'
show variables like 'mysqlx_max_allowed_packet';
Variable_name Value
mysqlx_max_allowed_packet 512
SET @@global.mysqlx_max_allowed_packet=1048576;
SET GLOBAL mysqlx_max_connections=150;
show variables like 'mysqlx_max_connections';
Variable_name Value
mysqlx_max_connections 150
SET @@global.mysqlx_max_connections=500;
show variables like 'mysqlx_max_connections';
Variable_name Value
mysqlx_max_connections 500
SET mysqlx_max_connections=150;
ERROR HY000: Variable 'mysqlx_max_connections' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.mysqlx_max_connections=150;
ERROR HY000: Variable 'mysqlx_max_connections' is a GLOBAL variable and should be set with SET GLOBAL
SET @@mysqlx_max_connections=150;
ERROR HY000: Variable 'mysqlx_max_connections' is a GLOBAL variable and should be set with SET GLOBAL
SET @@session.mysqlx_max_connections=150;
ERROR HY000: Variable 'mysqlx_max_connections' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION mysqlx_max_connections=150;
ERROR HY000: Variable 'mysqlx_max_connections' is a GLOBAL variable and should be set with SET GLOBAL
SET GLOBAL mysqlx_max_connections=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_max_connections value: '0'
SET GLOBAL mysqlx_max_connections=-848;
Warnings:
Warning 1292 Truncated incorrect mysqlx_max_connections value: '-848'
SET GLOBAL mysqlx_max_connections='%45*#in';
ERROR 42000: Incorrect argument type to variable 'mysqlx_max_connections'
show variables like 'mysqlx_max_connections';
Variable_name Value
mysqlx_max_connections 1
SET @@global.mysqlx_max_connections=151;
SET GLOBAL mysqlx_min_worker_threads=150;
Warnings:
Warning 1292 Truncated incorrect mysqlx_min_worker_threads value: '150'
SET @@global.mysqlx_min_worker_threads=15;
show variables like 'mysqlx_min_worker_threads';
Variable_name Value
mysqlx_min_worker_threads 15
SET mysqlx_min_worker_threads=15;
ERROR HY000: Variable 'mysqlx_min_worker_threads' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.mysqlx_min_worker_threads=15;
ERROR HY000: Variable 'mysqlx_min_worker_threads' is a GLOBAL variable and should be set with SET GLOBAL
SET @@mysqlx_min_worker_threads=15;
ERROR HY000: Variable 'mysqlx_min_worker_threads' is a GLOBAL variable and should be set with SET GLOBAL
SET @@session.mysqlx_min_worker_threads=15;
ERROR HY000: Variable 'mysqlx_min_worker_threads' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION mysqlx_min_worker_threads=15;
ERROR HY000: Variable 'mysqlx_min_worker_threads' is a GLOBAL variable and should be set with SET GLOBAL
SET @@global.mysqlx_min_worker_threads=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_min_worker_threads value: '0'
SET @@global.mysqlx_min_worker_threads=-4324;
Warnings:
Warning 1292 Truncated incorrect mysqlx_min_worker_threads value: '-4324'
SET GLOBAL mysqlx_min_worker_threads=+23766;
Warnings:
Warning 1292 Truncated incorrect mysqlx_min_worker_threads value: '23766'
SET GLOBAL mysqlx_min_worker_threads='USDSI75u';
ERROR 42000: Incorrect argument type to variable 'mysqlx_min_worker_threads'
show variables like 'mysqlx_min_worker_threads';
Variable_name Value
mysqlx_min_worker_threads 100
SET GLOBAL mysqlx_min_worker_threads=10;
SET GLOBAL mysqlx_connect_timeout=20;
SET @@global.mysqlx_connect_timeout=500;
show variables like 'mysqlx_connect_timeout';
Variable_name Value
mysqlx_connect_timeout 500
SET mysqlx_connect_timeout=20;
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.mysqlx_connect_timeout=20;
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@mysqlx_connect_timeout=20;
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@session.mysqlx_connect_timeout=20;
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION mysqlx_connect_timeout=20;
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET GLOBAL mysqlx_connect_timeout=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_connect_timeout value: '0'
SET GLOBAL mysqlx_connect_timeout=1;
SET GLOBAL mysqlx_connect_timeout=-4686234;
Warnings:
Warning 1292 Truncated incorrect mysqlx_connect_timeout value: '-4686234'
SET GLOBAL mysqlx_connect_timeout='gduges7';
ERROR 42000: Incorrect argument type to variable 'mysqlx_connect_timeout'
show variables like 'mysqlx_connect_timeout';
Variable_name Value
mysqlx_connect_timeout 1
SET GLOBAL mysqlx_connect_timeout=300;
SET GLOBAL mysqlx_wait_timeout=20;
SET @@global.mysqlx_wait_timeout=500;
SET mysqlx_wait_timeout=30;
SET @@local.mysqlx_wait_timeout=40;
SET @@mysqlx_wait_timeout=50;
SET @@session.mysqlx_wait_timeout=60;
SET SESSION mysqlx_wait_timeout=70;
SET @@global.mysqlx_wait_timeout=2147483;
show variables like 'mysqlx_wait_timeout';
Variable_name Value
mysqlx_wait_timeout 70
SET GLOBAL mysqlx_wait_timeout=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_wait_timeout value: '0'
SET GLOBAL mysqlx_wait_timeout=1;
SET GLOBAL mysqlx_wait_timeout=-4686234;
Warnings:
Warning 1292 Truncated incorrect mysqlx_wait_timeout value: '-4686234'
SET GLOBAL mysqlx_wait_timeout='gduges7';
ERROR 42000: Incorrect argument type to variable 'mysqlx_wait_timeout'
show variables like 'mysqlx_wait_timeout';
Variable_name Value
mysqlx_wait_timeout 70
SET GLOBAL mysqlx_wait_timeout=28800;
SET SESSION mysqlx_wait_timeout=28800;
SET GLOBAL mysqlx_interactive_timeout=20;
SET @@global.mysqlx_interactive_timeout=500;
SET mysqlx_interactive_timeout=30;
ERROR HY000: Variable 'mysqlx_interactive_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.mysqlx_interactive_timeout=40;
ERROR HY000: Variable 'mysqlx_interactive_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@mysqlx_interactive_timeout=50;
ERROR HY000: Variable 'mysqlx_interactive_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@session.mysqlx_interactive_timeout=60;
ERROR HY000: Variable 'mysqlx_interactive_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION mysqlx_interactive_timeout=70;
ERROR HY000: Variable 'mysqlx_interactive_timeout' is a GLOBAL variable and should be set with SET GLOBAL
SET @@global.mysqlx_interactive_timeout=2147483;
show variables like 'mysqlx_interactive_timeout';
Variable_name Value
mysqlx_interactive_timeout 2147483
SET GLOBAL mysqlx_interactive_timeout=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_interactive_timeout value: '0'
SET GLOBAL mysqlx_interactive_timeout=1;
SET GLOBAL mysqlx_interactive_timeout=-4686234;
Warnings:
Warning 1292 Truncated incorrect mysqlx_interactive_timeout value: '-4686234'
SET GLOBAL mysqlx_interactive_timeout='gduges7';
ERROR 42000: Incorrect argument type to variable 'mysqlx_interactive_timeout'
show variables like 'mysqlx_interactive_timeout';
Variable_name Value
mysqlx_interactive_timeout 1
SET GLOBAL mysqlx_interactive_timeout=28800;
SET GLOBAL mysqlx_read_timeout=20;
SET @@global.mysqlx_read_timeout=500;
SET mysqlx_read_timeout=30;
SET @@local.mysqlx_read_timeout=40;
SET @@mysqlx_read_timeout=50;
SET @@session.mysqlx_read_timeout=60;
SET SESSION mysqlx_read_timeout=70;
SET @@global.mysqlx_read_timeout=2147483;
show variables like 'mysqlx_read_timeout';
Variable_name Value
mysqlx_read_timeout 70
SET GLOBAL mysqlx_read_timeout=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_read_timeout value: '0'
SET GLOBAL mysqlx_read_timeout=1;
SET GLOBAL mysqlx_read_timeout=-4686234;
Warnings:
Warning 1292 Truncated incorrect mysqlx_read_timeout value: '-4686234'
SET GLOBAL mysqlx_read_timeout='gduges7';
ERROR 42000: Incorrect argument type to variable 'mysqlx_read_timeout'
show variables like 'mysqlx_read_timeout';
Variable_name Value
mysqlx_read_timeout 70
SET GLOBAL mysqlx_read_timeout=30;
SET SESSION mysqlx_read_timeout=30;
SET GLOBAL mysqlx_write_timeout=20;
SET @@global.mysqlx_write_timeout=500;
SET mysqlx_write_timeout=300;
SET @@local.mysqlx_write_timeout=400;
SET @@mysqlx_write_timeout=500;
SET @@session.mysqlx_write_timeout=600;
SET SESSION mysqlx_write_timeout=700;
SET @@global.mysqlx_write_timeout=2147483;
show variables like 'mysqlx_write_timeout';
Variable_name Value
mysqlx_write_timeout 700
SET GLOBAL mysqlx_write_timeout=0;
Warnings:
Warning 1292 Truncated incorrect mysqlx_write_timeout value: '0'
SET GLOBAL mysqlx_write_timeout=1;
SET GLOBAL mysqlx_write_timeout=-4686234;
Warnings:
Warning 1292 Truncated incorrect mysqlx_write_timeout value: '-4686234'
SET GLOBAL mysqlx_write_timeout='gduges7';
ERROR 42000: Incorrect argument type to variable 'mysqlx_write_timeout'
show variables like 'mysqlx_write_timeout';
Variable_name Value
mysqlx_write_timeout 700
SET GLOBAL mysqlx_write_timeout=60;
SET SESSION mysqlx_write_timeout=60;
SET GLOBAL mysqlx_port=33060;
ERROR HY000: Variable 'mysqlx_port' is a read only variable
RUN SET GLOBAL mysqlx_idle_worker_thread_timeout=7
0 rows affected
RUN SET @@global.mysqlx_idle_worker_thread_timeout=7
0 rows affected
RUN SET GLOBAL mysqlx_max_allowed_packet=5000000
0 rows affected
RUN SET @@global.mysqlx_max_allowed_packet=7000000
0 rows affected
RUN SET GLOBAL mysqlx_max_connections=150
0 rows affected
RUN SET @@global.mysqlx_max_connections=500
0 rows affected
RUN SET GLOBAL mysqlx_min_worker_threads=15
0 rows affected
RUN SET @@global.mysqlx_min_worker_threads=15
0 rows affected
RUN SET GLOBAL mysqlx_connect_timeout=20
0 rows affected
RUN SET @@global.mysqlx_connect_timeout=500
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
SET GLOBAL mysqlx_idle_worker_thread_timeout= DEFAULT;
SET GLOBAL mysqlx_max_allowed_packet= DEFAULT;
SET GLOBAL mysqlx_max_connections= DEFAULT;
SET GLOBAL mysqlx_min_worker_threads= DEFAULT;
SET GLOBAL mysqlx_connect_timeout= DEFAULT;