mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
3435e8a515
innodb_autoinc_lock_mode = 2 innodb_buffer_pool_dump_at_shutdown = ON innodb_buffer_pool_dump_pct = 25 innodb_buffer_pool_load_at_startup = ON innodb_checksum_algorithm = CRC32 innodb_file_format = Barracuda innodb_large_prefix = ON innodb_log_compressed_pages = ON innodb_purge_threads = 4 innodb_strict_mode = ON binlog_annotate_row_events = ON binlog_format = MIXED binlog-row-event-max-size = 8192 group_concat_max_len = 1M lock_wait_timeout = 86400 log_slow_admin_statements = ON log_slow_slave_statements = ON log_warnings = 2 max_allowed_packet = 16M replicate_annotate_row_events = ON slave_net_timeout = 60 sync_binlog = 1 aria_recover = BACKUP,QUICK myisam_recover_options = BACKUP,QUICK
165 lines
4.8 KiB
Text
165 lines
4.8 KiB
Text
SET @start_global_value = @@global.log_warnings;
|
|
SELECT @start_global_value;
|
|
@start_global_value
|
|
2
|
|
SET @start_session_value = @@session.log_warnings;
|
|
SELECT @start_session_value;
|
|
@start_session_value
|
|
2
|
|
'#--------------------FN_DYNVARS_067_01-------------------------#'
|
|
SET @@global.log_warnings = 100;
|
|
SET @@global.log_warnings = DEFAULT;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
2
|
|
SET @@session.log_warnings = 200;
|
|
SET @@session.log_warnings = DEFAULT;
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
2
|
|
'#--------------------FN_DYNVARS_067_02-------------------------#'
|
|
SET @@global.log_warnings = DEFAULT;
|
|
SELECT @@global.log_warnings = 1;
|
|
@@global.log_warnings = 1
|
|
0
|
|
SET @@session.log_warnings = DEFAULT;
|
|
SELECT @@session.log_warnings = 1;
|
|
@@session.log_warnings = 1
|
|
0
|
|
'#--------------------FN_DYNVARS_067_03-------------------------#'
|
|
SET @@global.log_warnings = 0;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
0
|
|
SET @@global.log_warnings = 1;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
1
|
|
SET @@global.log_warnings = 60020;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
60020
|
|
SET @@global.log_warnings = 65535;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
65535
|
|
SET @@global.log_warnings = 65536;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
65536
|
|
'#--------------------FN_DYNVARS_067_04-------------------------#'
|
|
SET @@session.log_warnings = 0;
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
0
|
|
SET @@session.log_warnings = 1;
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
1
|
|
SET @@session.log_warnings = 50050;
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
50050
|
|
SET @@session.log_warnings = 65535;
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
65535
|
|
SET @@session.log_warnings = 65550;
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
65550
|
|
'#------------------FN_DYNVARS_067_05-----------------------#'
|
|
SET @@global.log_warnings = 100000000000;
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect log_warnings value: '100000000000'
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
4294967295
|
|
SET @@global.log_warnings = -1024;
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect log_warnings value: '-1024'
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
0
|
|
SET @@global.log_warnings = 65530.34;
|
|
ERROR 42000: Incorrect argument type to variable 'log_warnings'
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
0
|
|
SET @@global.log_warnings = test;
|
|
ERROR 42000: Incorrect argument type to variable 'log_warnings'
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
0
|
|
SET @@session.log_warnings = 100000000000;
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect log_warnings value: '100000000000'
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
4294967295
|
|
SET @@session.log_warnings = -2;
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect log_warnings value: '-2'
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
0
|
|
SET @@session.log_warnings = 65530.34;
|
|
ERROR 42000: Incorrect argument type to variable 'log_warnings'
|
|
SET @@session.log_warnings = test;
|
|
ERROR 42000: Incorrect argument type to variable 'log_warnings'
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
0
|
|
'#------------------FN_DYNVARS_067_06-----------------------#'
|
|
SELECT @@global.log_warnings = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='log_warnings';
|
|
@@global.log_warnings = VARIABLE_VALUE
|
|
1
|
|
'#------------------FN_DYNVARS_067_07-----------------------#'
|
|
SELECT @@session.log_warnings = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
|
WHERE VARIABLE_NAME='log_warnings';
|
|
@@session.log_warnings = VARIABLE_VALUE
|
|
1
|
|
'#------------------FN_DYNVARS_067_08-----------------------#'
|
|
SET @@global.log_warnings = TRUE;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
1
|
|
SET @@global.log_warnings = FALSE;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
0
|
|
'#---------------------FN_DYNVARS_067_09----------------------#'
|
|
SET @@global.log_warnings = 10;
|
|
SELECT @@log_warnings = @@global.log_warnings;
|
|
@@log_warnings = @@global.log_warnings
|
|
0
|
|
'#---------------------FN_DYNVARS_067_10----------------------#'
|
|
SET @@log_warnings = 100;
|
|
SELECT @@log_warnings = @@local.log_warnings;
|
|
@@log_warnings = @@local.log_warnings
|
|
1
|
|
SELECT @@local.log_warnings = @@session.log_warnings;
|
|
@@local.log_warnings = @@session.log_warnings
|
|
1
|
|
'#---------------------FN_DYNVARS_067_11----------------------#'
|
|
SET log_warnings = 1;
|
|
SELECT @@log_warnings;
|
|
@@log_warnings
|
|
1
|
|
SELECT local.log_warnings;
|
|
ERROR 42S02: Unknown table 'local' in field list
|
|
SELECT session.log_warnings;
|
|
ERROR 42S02: Unknown table 'session' in field list
|
|
SELECT log_warnings = @@session.log_warnings;
|
|
ERROR 42S22: Unknown column 'log_warnings' in 'field list'
|
|
SET @@global.log_warnings = @start_global_value;
|
|
SELECT @@global.log_warnings;
|
|
@@global.log_warnings
|
|
2
|
|
SET @@session.log_warnings = @start_session_value;
|
|
SELECT @@session.log_warnings;
|
|
@@session.log_warnings
|
|
2
|