mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
merge from 5.1-bt to a local branch
This commit is contained in:
@@ -5245,7 +5245,7 @@ WHERE select_id = 1 OR select_id IS NULL order by id;
|
||||
sqrt(my_bigint) my_bigint id
|
||||
NULL NULL 1
|
||||
NULL -9223372036854775808 2
|
||||
3037000499.976 9223372036854775807 3
|
||||
3037000499.97605 9223372036854775807 3
|
||||
0 0 4
|
||||
NULL -1 5
|
||||
2 4 6
|
||||
@@ -5259,7 +5259,7 @@ WHERE select_id = 1 OR select_id IS NULL) order by id;
|
||||
sqrt(my_bigint) my_bigint id
|
||||
NULL NULL 1
|
||||
NULL -9223372036854775808 2
|
||||
3037000499.976 9223372036854775807 3
|
||||
3037000499.97605 9223372036854775807 3
|
||||
0 0 4
|
||||
NULL -1 5
|
||||
2 4 6
|
||||
|
@@ -22824,7 +22824,7 @@ f1 f2
|
||||
ABC 3
|
||||
SELECT * FROM v1 order by 2;
|
||||
f1 my_sqrt
|
||||
ABC 1.7320508075689
|
||||
ABC 1.73205080756888
|
||||
ALTER TABLE t1 CHANGE COLUMN f2 f2 VARCHAR(30);
|
||||
INSERT INTO t1 SET f1 = 'ABC', f2 = 'DEF';
|
||||
DESCRIBE t1;
|
||||
@@ -22842,7 +22842,7 @@ ABC DEF
|
||||
SELECT * FROM v1 order by 2;
|
||||
f1 my_sqrt
|
||||
ABC 0
|
||||
ABC 1.7320508075689
|
||||
ABC 1.73205080756888
|
||||
SELECT SQRT('DEF');
|
||||
SQRT('DEF')
|
||||
0
|
||||
@@ -22862,7 +22862,7 @@ my_sqrt double YES NULL
|
||||
SELECT * FROM v2 order by 2;
|
||||
f1 my_sqrt
|
||||
ABC 0
|
||||
ABC 1.7320508075689
|
||||
ABC 1.73205080756888
|
||||
CREATE TABLE t2 AS SELECT f1, SQRT(f2) my_sqrt FROM t1;
|
||||
SELECT * FROM t2 order by 2;
|
||||
f1 ABC
|
||||
|
@@ -55,13 +55,13 @@ SELECT @@session.auto_increment_increment;
|
||||
'#------------------FN_DYNVARS_001_05-----------------------#'
|
||||
SET @@global.auto_increment_increment = 0;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-increment value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_increment value: '0'
|
||||
SELECT @@global.auto_increment_increment;
|
||||
@@global.auto_increment_increment
|
||||
1
|
||||
SET @@global.auto_increment_increment = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-increment value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_increment value: '-1024'
|
||||
SELECT @@global.auto_increment_increment;
|
||||
@@global.auto_increment_increment
|
||||
1
|
||||
@@ -83,13 +83,13 @@ SELECT @@global.auto_increment_increment;
|
||||
65535
|
||||
SET @@session.auto_increment_increment = 0;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-increment value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_increment value: '0'
|
||||
SELECT @@session.auto_increment_increment;
|
||||
@@session.auto_increment_increment
|
||||
1
|
||||
SET @@session.auto_increment_increment = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-increment value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_increment value: '-2'
|
||||
SELECT @@session.auto_increment_increment;
|
||||
@@session.auto_increment_increment
|
||||
1
|
||||
@@ -126,7 +126,7 @@ SELECT @@global.auto_increment_increment;
|
||||
1
|
||||
SET @@global.auto_increment_increment = FALSE;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-increment value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_increment value: '0'
|
||||
SELECT @@global.auto_increment_increment;
|
||||
@@global.auto_increment_increment
|
||||
1
|
||||
|
@@ -169,7 +169,7 @@ id name
|
||||
## Verifying behavior of variable with negative value ##
|
||||
SET @@auto_increment_increment = -10;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-increment value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_increment value: '-10'
|
||||
INSERT into t1(name) values('Record_17');
|
||||
INSERT into t1(name) values('Record_18');
|
||||
SELECT * from t1;
|
||||
|
@@ -55,13 +55,13 @@ SELECT @@session.auto_increment_offset;
|
||||
'#------------------FN_DYNVARS_002_05-----------------------#'
|
||||
SET @@global.auto_increment_offset = 0;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-offset value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_offset value: '0'
|
||||
SELECT @@global.auto_increment_offset;
|
||||
@@global.auto_increment_offset
|
||||
1
|
||||
SET @@global.auto_increment_offset = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-offset value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_offset value: '-1024'
|
||||
SELECT @@global.auto_increment_offset;
|
||||
@@global.auto_increment_offset
|
||||
1
|
||||
@@ -88,13 +88,13 @@ SELECT @@global.auto_increment_offset;
|
||||
65535
|
||||
SET @@session.auto_increment_offset = 0;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-offset value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_offset value: '0'
|
||||
SELECT @@session.auto_increment_offset;
|
||||
@@session.auto_increment_offset
|
||||
1
|
||||
SET @@session.auto_increment_offset = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-offset value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_offset value: '-2'
|
||||
SELECT @@session.auto_increment_offset;
|
||||
@@session.auto_increment_offset
|
||||
1
|
||||
@@ -139,7 +139,7 @@ SELECT @@global.auto_increment_offset;
|
||||
1
|
||||
SET @@global.auto_increment_offset = FALSE;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-offset value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_offset value: '0'
|
||||
SELECT @@global.auto_increment_offset;
|
||||
@@global.auto_increment_offset
|
||||
1
|
||||
|
@@ -178,7 +178,7 @@ id name
|
||||
## Assigning -ve value to variable ##
|
||||
SET @@auto_increment_offset = -10;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect auto-increment-offset value: '0'
|
||||
Warning 1292 Truncated incorrect auto_increment_offset value: '-10'
|
||||
SELECT @@auto_increment_offset = -10;
|
||||
@@auto_increment_offset = -10
|
||||
0
|
||||
|
@@ -28,12 +28,14 @@ SELECT @@global.concurrent_insert;
|
||||
2
|
||||
'#--------------------FN_DYNVARS_018_04-------------------------#'
|
||||
SET @@global.concurrent_insert = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect concurrent_insert value: '-1'
|
||||
Select @@global.concurrent_insert;
|
||||
@@global.concurrent_insert
|
||||
0
|
||||
SET @@global.concurrent_insert = 100;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect concurrent-insert value: '100'
|
||||
Warning 1292 Truncated incorrect concurrent_insert value: '100'
|
||||
Select @@global.concurrent_insert;
|
||||
@@global.concurrent_insert
|
||||
2
|
||||
|
@@ -35,7 +35,7 @@ SELECT @@global.connect_timeout;
|
||||
2
|
||||
SET @@global.connect_timeout = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect connect_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect connect_timeout value: '-1024'
|
||||
SELECT @@global.connect_timeout;
|
||||
@@global.connect_timeout
|
||||
2
|
||||
|
@@ -64,6 +64,8 @@ SELECT @@global.default_week_format;
|
||||
@@global.default_week_format
|
||||
7
|
||||
SET @@global.default_week_format = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect default_week_format value: '-1024'
|
||||
SELECT @@global.default_week_format;
|
||||
@@global.default_week_format
|
||||
0
|
||||
@@ -100,6 +102,8 @@ SELECT @@session.default_week_format;
|
||||
@@session.default_week_format
|
||||
7
|
||||
SET @@session.default_week_format = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect default_week_format value: '-2'
|
||||
SELECT @@session.default_week_format;
|
||||
@@session.default_week_format
|
||||
0
|
||||
|
@@ -35,7 +35,7 @@ SELECT @@global.delayed_insert_timeout;
|
||||
1
|
||||
SET @@global.delayed_insert_timeout = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect delayed_insert_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect delayed_insert_timeout value: '-1024'
|
||||
SELECT @@global.delayed_insert_timeout;
|
||||
@@global.delayed_insert_timeout
|
||||
1
|
||||
|
@@ -78,6 +78,8 @@ SELECT @@global.div_precision_increment;
|
||||
@@global.div_precision_increment
|
||||
30
|
||||
SET @@global.div_precision_increment = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect div_precision_increment value: '-1024'
|
||||
SELECT @@global.div_precision_increment;
|
||||
@@global.div_precision_increment
|
||||
0
|
||||
@@ -100,6 +102,8 @@ SELECT @@session.div_precision_increment;
|
||||
@@session.div_precision_increment
|
||||
30
|
||||
SET @@session.div_precision_increment = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect div_precision_increment value: '-2'
|
||||
SELECT @@session.div_precision_increment;
|
||||
@@session.div_precision_increment
|
||||
0
|
||||
|
@@ -32,6 +32,8 @@ SELECT @@global.expire_logs_days;
|
||||
21
|
||||
'#--------------------FN_DYNVARS_029_04-------------------------#'
|
||||
SET @@global.expire_logs_days = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect expire_logs_days value: '-1'
|
||||
SELECT @@global.expire_logs_days;
|
||||
@@global.expire_logs_days
|
||||
0
|
||||
@@ -53,6 +55,8 @@ SELECT @@global.expire_logs_days;
|
||||
@@global.expire_logs_days
|
||||
99
|
||||
SET @@global.expire_logs_days = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect expire_logs_days value: '-1024'
|
||||
SELECT @@global.expire_logs_days;
|
||||
@@global.expire_logs_days
|
||||
0
|
||||
|
@@ -65,7 +65,7 @@ SELECT @@global.group_concat_max_len;
|
||||
4
|
||||
SET @@global.group_concat_max_len = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect group_concat_max_len value: '0'
|
||||
Warning 1292 Truncated incorrect group_concat_max_len value: '-1024'
|
||||
SELECT @@global.group_concat_max_len;
|
||||
@@global.group_concat_max_len
|
||||
4
|
||||
@@ -91,7 +91,7 @@ SELECT @@session.group_concat_max_len;
|
||||
4
|
||||
SET @@session.group_concat_max_len = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect group_concat_max_len value: '0'
|
||||
Warning 1292 Truncated incorrect group_concat_max_len value: '-2'
|
||||
SELECT @@session.group_concat_max_len;
|
||||
@@session.group_concat_max_len
|
||||
4
|
||||
|
@@ -61,7 +61,7 @@ SELECT @@global.interactive_timeout;
|
||||
1
|
||||
SET @@global.interactive_timeout = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect interactive_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect interactive_timeout value: '-1024'
|
||||
SELECT @@global.interactive_timeout;
|
||||
@@global.interactive_timeout
|
||||
1
|
||||
@@ -89,7 +89,7 @@ SELECT @@session.interactive_timeout;
|
||||
1
|
||||
SET @@session.interactive_timeout = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect interactive_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect interactive_timeout value: '-2'
|
||||
SELECT @@session.interactive_timeout;
|
||||
@@session.interactive_timeout
|
||||
1
|
||||
|
@@ -76,7 +76,7 @@ SELECT @@global.max_allowed_packet;
|
||||
1024
|
||||
SET @@global.max_allowed_packet = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_allowed_packet value: '0'
|
||||
Warning 1292 Truncated incorrect max_allowed_packet value: '-1024'
|
||||
SELECT @@global.max_allowed_packet;
|
||||
@@global.max_allowed_packet
|
||||
1024
|
||||
|
@@ -39,7 +39,7 @@ SELECT @@global.max_binlog_size;
|
||||
'#--------------------FN_DYNVARS_072_04-------------------------#'
|
||||
SET @@global.max_binlog_size = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_binlog_size value: '0'
|
||||
Warning 1292 Truncated incorrect max_binlog_size value: '-1'
|
||||
SELECT @@global.max_binlog_size;
|
||||
@@global.max_binlog_size
|
||||
4096
|
||||
@@ -56,7 +56,7 @@ SELECT @@global.max_binlog_size;
|
||||
1073741824
|
||||
SET @@global.max_binlog_size = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_binlog_size value: '0'
|
||||
Warning 1292 Truncated incorrect max_binlog_size value: '-1024'
|
||||
SELECT @@global.max_binlog_size;
|
||||
@@global.max_binlog_size
|
||||
4096
|
||||
|
@@ -39,7 +39,7 @@ SELECT @@global.max_connections;
|
||||
'#--------------------FN_DYNVARS_074_04-------------------------#'
|
||||
SET @@global.max_connections = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_connections value: '0'
|
||||
Warning 1292 Truncated incorrect max_connections value: '-1'
|
||||
SELECT @@global.max_connections;
|
||||
@@global.max_connections
|
||||
1
|
||||
@@ -56,7 +56,7 @@ SELECT @@global.max_connections;
|
||||
100000
|
||||
SET @@global.max_connections = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_connections value: '0'
|
||||
Warning 1292 Truncated incorrect max_connections value: '-1024'
|
||||
SELECT @@global.max_connections;
|
||||
@@global.max_connections
|
||||
1
|
||||
|
@@ -76,10 +76,14 @@ SELECT @@session.max_delayed_threads;
|
||||
16383
|
||||
'#------------------FN_DYNVARS_075_05-----------------------#'
|
||||
SET @@global.max_delayed_threads = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_delayed_threads value: '-1024'
|
||||
SELECT @@global.max_delayed_threads;
|
||||
@@global.max_delayed_threads
|
||||
0
|
||||
SET @@global.max_delayed_threads = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_delayed_threads value: '-1'
|
||||
SELECT @@global.max_delayed_threads;
|
||||
@@global.max_delayed_threads
|
||||
0
|
||||
|
@@ -63,10 +63,14 @@ SELECT @@session.max_error_count;
|
||||
65534
|
||||
'#------------------FN_DYNVARS_076_05-----------------------#'
|
||||
SET @@global.max_error_count = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_error_count value: '-1'
|
||||
SELECT @@global.max_error_count;
|
||||
@@global.max_error_count
|
||||
0
|
||||
SET @@global.max_error_count = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_error_count value: '-1024'
|
||||
SELECT @@global.max_error_count;
|
||||
@@global.max_error_count
|
||||
0
|
||||
@@ -93,6 +97,8 @@ SELECT @@global.max_error_count;
|
||||
@@global.max_error_count
|
||||
65535
|
||||
SET @@session.max_error_count = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_error_count value: '-1'
|
||||
SELECT @@session.max_error_count;
|
||||
@@session.max_error_count
|
||||
0
|
||||
@@ -102,6 +108,8 @@ SELECT @@session.max_error_count;
|
||||
@@session.max_error_count
|
||||
65535
|
||||
SET @@session.max_error_count = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_error_count value: '-2'
|
||||
SELECT @@session.max_error_count;
|
||||
@@session.max_error_count
|
||||
0
|
||||
|
@@ -77,10 +77,14 @@ SELECT @@session.max_insert_delayed_threads;
|
||||
16383
|
||||
'#------------------FN_DYNVARS_078_05-----------------------#'
|
||||
SET @@global.max_insert_delayed_threads = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_insert_delayed_threads value: '-1024'
|
||||
SELECT @@global.max_insert_delayed_threads;
|
||||
@@global.max_insert_delayed_threads
|
||||
0
|
||||
SET @@global.max_insert_delayed_threads = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_insert_delayed_threads value: '-1'
|
||||
SELECT @@global.max_insert_delayed_threads;
|
||||
@@global.max_insert_delayed_threads
|
||||
0
|
||||
|
@@ -71,7 +71,7 @@ SELECT @@session.max_length_for_sort_data;
|
||||
'#------------------FN_DYNVARS_080_05-----------------------#'
|
||||
SET @@global.max_length_for_sort_data = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_length_for_sort_data value: '0'
|
||||
Warning 1292 Truncated incorrect max_length_for_sort_data value: '-1024'
|
||||
SELECT @@global.max_length_for_sort_data;
|
||||
@@global.max_length_for_sort_data
|
||||
4
|
||||
@@ -111,7 +111,7 @@ SELECT @@session.max_length_for_sort_data;
|
||||
8388608
|
||||
SET @@session.max_length_for_sort_data = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_length_for_sort_data value: '0'
|
||||
Warning 1292 Truncated incorrect max_length_for_sort_data value: '-1'
|
||||
SELECT @@session.max_length_for_sort_data;
|
||||
@@session.max_length_for_sort_data
|
||||
4
|
||||
|
@@ -36,6 +36,8 @@ SELECT @@global.max_prepared_stmt_count;
|
||||
65535
|
||||
'#--------------------FN_DYNVARS_081_04-------------------------#'
|
||||
SET @@global.max_prepared_stmt_count = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_prepared_stmt_count value: '-1'
|
||||
SELECT @@global.max_prepared_stmt_count;
|
||||
@@global.max_prepared_stmt_count
|
||||
0
|
||||
@@ -51,6 +53,8 @@ SELECT @@global.max_prepared_stmt_count;
|
||||
@@global.max_prepared_stmt_count
|
||||
1048576
|
||||
SET @@global.max_prepared_stmt_count = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_prepared_stmt_count value: '-1024'
|
||||
SELECT @@global.max_prepared_stmt_count;
|
||||
@@global.max_prepared_stmt_count
|
||||
0
|
||||
|
@@ -38,6 +38,8 @@ SELECT @@global.max_relay_log_size;
|
||||
'Bug# 34877: Invalid Values are coming in variable on assigning valid values';
|
||||
'#--------------------FN_DYNVARS_082_04-------------------------#'
|
||||
SET @@global.max_relay_log_size = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_relay_log_size value: '-1'
|
||||
SELECT @@global.max_relay_log_size;
|
||||
@@global.max_relay_log_size
|
||||
0
|
||||
@@ -53,6 +55,8 @@ SELECT @@global.max_relay_log_size;
|
||||
@@global.max_relay_log_size
|
||||
1073741824
|
||||
SET @@global.max_relay_log_size = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_relay_log_size value: '-1024'
|
||||
SELECT @@global.max_relay_log_size;
|
||||
@@global.max_relay_log_size
|
||||
0
|
||||
|
@@ -71,7 +71,7 @@ SELECT @@session.max_sort_length;
|
||||
'#------------------FN_DYNVARS_084_05-----------------------#'
|
||||
SET @@global.max_sort_length = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_sort_length value: '0'
|
||||
Warning 1292 Truncated incorrect max_sort_length value: '-1024'
|
||||
SELECT @@global.max_sort_length;
|
||||
@@global.max_sort_length
|
||||
4
|
||||
@@ -111,7 +111,7 @@ SELECT @@session.max_sort_length;
|
||||
8388608
|
||||
SET @@session.max_sort_length = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_sort_length value: '0'
|
||||
Warning 1292 Truncated incorrect max_sort_length value: '-1'
|
||||
SELECT @@session.max_sort_length;
|
||||
@@session.max_sort_length
|
||||
4
|
||||
|
@@ -74,6 +74,8 @@ SELECT @@session.max_sp_recursion_depth;
|
||||
150
|
||||
'#------------------FN_DYNVARS_085_05-----------------------#'
|
||||
SET @@global.max_sp_recursion_depth = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_sp_recursion_depth value: '-1024'
|
||||
SELECT @@global.max_sp_recursion_depth;
|
||||
@@global.max_sp_recursion_depth
|
||||
0
|
||||
@@ -84,6 +86,8 @@ SELECT @@global.max_sp_recursion_depth;
|
||||
@@global.max_sp_recursion_depth
|
||||
255
|
||||
SET @@global.max_sp_recursion_depth = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_sp_recursion_depth value: '-1'
|
||||
SELECT @@global.max_sp_recursion_depth;
|
||||
@@global.max_sp_recursion_depth
|
||||
0
|
||||
@@ -110,6 +114,8 @@ SELECT @@session.max_sp_recursion_depth;
|
||||
@@session.max_sp_recursion_depth
|
||||
255
|
||||
SET @@session.max_sp_recursion_depth = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_sp_recursion_depth value: '-1'
|
||||
SELECT @@session.max_sp_recursion_depth;
|
||||
@@session.max_sp_recursion_depth
|
||||
0
|
||||
@@ -120,6 +126,8 @@ SELECT @@session.max_sp_recursion_depth;
|
||||
@@session.max_sp_recursion_depth
|
||||
255
|
||||
SET @@session.max_sp_recursion_depth = -001;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect max_sp_recursion_depth value: '-1'
|
||||
SELECT @@session.max_sp_recursion_depth;
|
||||
@@session.max_sp_recursion_depth
|
||||
0
|
||||
|
@@ -48,7 +48,7 @@ ERROR HY000: Variable 'myisam_data_pointer_size' is a GLOBAL variable and should
|
||||
'#------------------FN_DYNVARS_093_05-----------------------#'
|
||||
SET @@global.myisam_data_pointer_size = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect myisam_data_pointer_size value: '0'
|
||||
Warning 1292 Truncated incorrect myisam_data_pointer_size value: '-1'
|
||||
SELECT @@global.myisam_data_pointer_size;
|
||||
@@global.myisam_data_pointer_size
|
||||
2
|
||||
|
@@ -50,7 +50,7 @@ SELECT @@global.net_buffer_length;
|
||||
1024
|
||||
SET @@global.net_buffer_length = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect net_buffer_length value: '0'
|
||||
Warning 1292 Truncated incorrect net_buffer_length value: '-1024'
|
||||
SELECT @@global.net_buffer_length;
|
||||
@@global.net_buffer_length
|
||||
1024
|
||||
|
@@ -61,7 +61,7 @@ SELECT @@global.net_read_timeout;
|
||||
1
|
||||
SET @@global.net_read_timeout = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect net_read_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect net_read_timeout value: '-1024'
|
||||
SELECT @@global.net_read_timeout;
|
||||
@@global.net_read_timeout
|
||||
1
|
||||
@@ -89,7 +89,7 @@ SELECT @@session.net_read_timeout;
|
||||
1
|
||||
SET @@session.net_read_timeout = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect net_read_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect net_read_timeout value: '-2'
|
||||
SELECT @@session.net_read_timeout;
|
||||
@@session.net_read_timeout
|
||||
1
|
||||
|
@@ -61,7 +61,7 @@ SELECT @@global.net_write_timeout;
|
||||
1
|
||||
SET @@global.net_write_timeout = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect net_write_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect net_write_timeout value: '-1024'
|
||||
SELECT @@global.net_write_timeout;
|
||||
@@global.net_write_timeout
|
||||
1
|
||||
@@ -89,7 +89,7 @@ SELECT @@session.net_write_timeout;
|
||||
1
|
||||
SET @@session.net_write_timeout = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect net_write_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect net_write_timeout value: '-2'
|
||||
SELECT @@session.net_write_timeout;
|
||||
@@session.net_write_timeout
|
||||
1
|
||||
|
@@ -81,6 +81,8 @@ ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||
SET @@global.optimizer_prune_level = FELSE;
|
||||
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||
SET @@global.optimizer_prune_level = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_prune_level value: '-1024'
|
||||
SELECT @@global.optimizer_prune_level;
|
||||
@@global.optimizer_prune_level
|
||||
0
|
||||
@@ -107,6 +109,8 @@ ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||
SET @@session.optimizer_prune_level = 'OFN';
|
||||
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||
SET @@session.optimizer_prune_level = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_prune_level value: '-2'
|
||||
SELECT @@session.optimizer_prune_level;
|
||||
@@session.optimizer_prune_level
|
||||
0
|
||||
|
@@ -72,6 +72,8 @@ SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
63
|
||||
SET @@global.optimizer_search_depth = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '-1'
|
||||
SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
0
|
||||
@@ -98,6 +100,8 @@ SELECT @@session.optimizer_search_depth;
|
||||
@@session.optimizer_search_depth
|
||||
63
|
||||
SET @@session.optimizer_search_depth = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '-2'
|
||||
SELECT @@session.optimizer_search_depth;
|
||||
@@session.optimizer_search_depth
|
||||
0
|
||||
|
@@ -77,7 +77,7 @@ SELECT @@global.preload_buffer_size;
|
||||
1024
|
||||
SET @@global.preload_buffer_size = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect preload_buffer_size value: '0'
|
||||
Warning 1292 Truncated incorrect preload_buffer_size value: '-1'
|
||||
SELECT @@global.preload_buffer_size;
|
||||
@@global.preload_buffer_size
|
||||
1024
|
||||
@@ -111,7 +111,7 @@ SELECT @@session.preload_buffer_size;
|
||||
1024
|
||||
SET @@session.preload_buffer_size = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect preload_buffer_size value: '0'
|
||||
Warning 1292 Truncated incorrect preload_buffer_size value: '-2'
|
||||
SELECT @@session.preload_buffer_size;
|
||||
@@session.preload_buffer_size
|
||||
1024
|
||||
|
@@ -81,7 +81,7 @@ SELECT @@global.read_buffer_size= 8200 OR @@global.read_buffer_size= 8228 ;
|
||||
1
|
||||
SET @@global.read_buffer_size = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect read_buffer_size value: '0'
|
||||
Warning 1292 Truncated incorrect read_buffer_size value: '-1024'
|
||||
SELECT @@global.read_buffer_size= 8200 OR @@global.read_buffer_size= 8228 ;
|
||||
@@global.read_buffer_size= 8200 OR @@global.read_buffer_size= 8228
|
||||
1
|
||||
@@ -109,7 +109,7 @@ SELECT @@session.read_buffer_size= 8200 OR @@session.read_buffer_size= 8228 ;
|
||||
1
|
||||
SET @@session.read_buffer_size = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect read_buffer_size value: '0'
|
||||
Warning 1292 Truncated incorrect read_buffer_size value: '-2'
|
||||
SELECT @@session.read_buffer_size= 8200 OR @@session.read_buffer_size= 8228 ;
|
||||
@@session.read_buffer_size= 8200 OR @@session.read_buffer_size= 8228
|
||||
1
|
||||
|
@@ -83,7 +83,7 @@ SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 822
|
||||
1
|
||||
SET @@global.read_rnd_buffer_size = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect read_rnd_buffer_size value: '0'
|
||||
Warning 1292 Truncated incorrect read_rnd_buffer_size value: '-1024'
|
||||
SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228;
|
||||
@@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228
|
||||
1
|
||||
@@ -111,7 +111,7 @@ SELECT @@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8
|
||||
1
|
||||
SET @@session.read_rnd_buffer_size = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect read_rnd_buffer_size value: '0'
|
||||
Warning 1292 Truncated incorrect read_rnd_buffer_size value: '-2'
|
||||
SELECT @@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228;
|
||||
@@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228
|
||||
1
|
||||
|
@@ -23,13 +23,13 @@ SELECT @@global.rpl_recovery_rank;
|
||||
123456789
|
||||
SET @@global.rpl_recovery_rank = 2147483648*2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect rpl-recovery-rank value: '4294967296'
|
||||
Warning 1292 Truncated incorrect rpl_recovery_rank value: '4294967296'
|
||||
SELECT @@global.rpl_recovery_rank;
|
||||
@@global.rpl_recovery_rank
|
||||
4294967295
|
||||
SET @@global.rpl_recovery_rank = 2147483648*1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect rpl-recovery-rank value: '2199023255552'
|
||||
Warning 1292 Truncated incorrect rpl_recovery_rank value: '2199023255552'
|
||||
SELECT @@global.rpl_recovery_rank;
|
||||
@@global.rpl_recovery_rank
|
||||
4294967295
|
||||
@@ -38,7 +38,7 @@ SELECT @@global.rpl_recovery_rank;
|
||||
4294967295
|
||||
SET @@global.rpl_recovery_rank = 2147483648*2147483648;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect rpl-recovery-rank value: '4611686018427387904'
|
||||
Warning 1292 Truncated incorrect rpl_recovery_rank value: '4611686018427387904'
|
||||
SELECT @@global.rpl_recovery_rank;
|
||||
@@global.rpl_recovery_rank
|
||||
4294967295
|
||||
|
@@ -61,7 +61,7 @@ SELECT @@global.server_id;
|
||||
0
|
||||
SET @@global.server_id = 2147483649*2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect server-id value: '4294967298'
|
||||
Warning 1292 Truncated incorrect server_id value: '4294967298'
|
||||
SELECT @@global.server_id;
|
||||
@@global.server_id
|
||||
4294967295
|
||||
|
@@ -52,17 +52,23 @@ SET @@local.server_id = 4;
|
||||
ERROR HY000: Variable 'server_id' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
'#------------------FN_DYNVARS_144_05-----------------------#'
|
||||
SET @@global.server_id = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect server_id value: '-1'
|
||||
SELECT @@global.server_id;
|
||||
@@global.server_id
|
||||
0
|
||||
SET @@global.server_id = -2147483648;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect server_id value: '-2147483648'
|
||||
SELECT @@global.server_id;
|
||||
@@global.server_id
|
||||
0
|
||||
SET @@global.server_id = 2147483649*2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect server_id value: '4294967298'
|
||||
SELECT @@global.server_id;
|
||||
@@global.server_id
|
||||
4294967298
|
||||
4294967295
|
||||
SET @@global.server_id = 65530.34.;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1
|
||||
SET @@global.server_id = '125';
|
||||
|
@@ -58,13 +58,13 @@ ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set
|
||||
'#------------------FN_DYNVARS_146_05-----------------------#'
|
||||
SET @@global.slave_net_timeout = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect slave_net_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect slave_net_timeout value: '-1'
|
||||
SELECT @@global.slave_net_timeout;
|
||||
@@global.slave_net_timeout
|
||||
1
|
||||
SET @@global.slave_net_timeout = -2147483648;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect slave_net_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect slave_net_timeout value: '-2147483648'
|
||||
SELECT @@global.slave_net_timeout;
|
||||
@@global.slave_net_timeout
|
||||
1
|
||||
|
@@ -36,6 +36,8 @@ SELECT @@global.slow_launch_time;
|
||||
65536
|
||||
'#--------------------FN_DYNVARS_150_04-------------------------#'
|
||||
SET @@global.slow_launch_time = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect slow_launch_time value: '-1'
|
||||
SELECT @@global.slow_launch_time;
|
||||
@@global.slow_launch_time
|
||||
0
|
||||
@@ -57,6 +59,8 @@ SELECT @@global.slow_launch_time;
|
||||
@@global.slow_launch_time
|
||||
31536000
|
||||
SET @@global.slow_launch_time = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect slow_launch_time value: '-1024'
|
||||
SELECT @@global.slow_launch_time;
|
||||
@@global.slow_launch_time
|
||||
0
|
||||
|
@@ -45,7 +45,7 @@ SELECT @@global.table_definition_cache;
|
||||
256
|
||||
SET @@global.table_definition_cache = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect table_definition_cache value: '0'
|
||||
Warning 1292 Truncated incorrect table_definition_cache value: '-1024'
|
||||
SELECT @@global.table_definition_cache;
|
||||
@@global.table_definition_cache
|
||||
256
|
||||
|
@@ -37,13 +37,13 @@ SELECT @@global.table_lock_wait_timeout ;
|
||||
'#--------------------FN_DYNVARS_001_04-------------------------#'
|
||||
SET @@global.table_lock_wait_timeout = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect table_lock_wait_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect table_lock_wait_timeout value: '-1'
|
||||
SET @@global.table_lock_wait_timeout= 100000000000;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect table_lock_wait_timeout value: '100000000000'
|
||||
SET @@global.table_lock_wait_timeout= -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect table_lock_wait_timeout value: '0'
|
||||
Warning 1292 Truncated incorrect table_lock_wait_timeout value: '-1024'
|
||||
SET @@global.table_lock_wait_timeout= 0;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect table_lock_wait_timeout value: '0'
|
||||
|
@@ -39,7 +39,7 @@ SELECT @@global.table_open_cache ;
|
||||
'#--------------------FN_DYNVARS_001_04-------------------------#'
|
||||
SET @@global.table_open_cache = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect table_open_cache value: '0'
|
||||
Warning 1292 Truncated incorrect table_open_cache value: '-1'
|
||||
SELECT @@global.table_open_cache ;
|
||||
@@global.table_open_cache
|
||||
1
|
||||
@@ -51,7 +51,7 @@ SELECT @@global.table_open_cache ;
|
||||
524288
|
||||
SET @@global.table_open_cache = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect table_open_cache value: '0'
|
||||
Warning 1292 Truncated incorrect table_open_cache value: '-1024'
|
||||
SELECT @@global.table_open_cache ;
|
||||
@@global.table_open_cache
|
||||
1
|
||||
|
Reference in New Issue
Block a user