mirror of
https://github.com/MariaDB/server.git
synced 2025-05-05 16:59:35 +03:00
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
75 lines
1.9 KiB
Plaintext
75 lines
1.9 KiB
Plaintext
SELECT @@GLOBAL.binlog_format;
|
|
@@GLOBAL.binlog_format
|
|
MIXED
|
|
'#---------------------BS_STVARS_002_01----------------------#'
|
|
SET @start_value= @@global.binlog_format;
|
|
SELECT COUNT(@@GLOBAL.binlog_format);
|
|
COUNT(@@GLOBAL.binlog_format)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@SESSION.binlog_format);
|
|
COUNT(@@SESSION.binlog_format)
|
|
1
|
|
1 Expected
|
|
'#---------------------BS_STVARS_002_02----------------------#'
|
|
SET @@GLOBAL.binlog_format=1;
|
|
SELECT @@GLOBAL.binlog_format;
|
|
@@GLOBAL.binlog_format
|
|
STATEMENT
|
|
SET @@SESSION.binlog_format=1;
|
|
SELECT @@SESSION.binlog_format;
|
|
@@SESSION.binlog_format
|
|
STATEMENT
|
|
'#---------------------BS_STVARS_002_03----------------------#'
|
|
SELECT @@GLOBAL.binlog_format = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='binlog_format';
|
|
@@GLOBAL.binlog_format = VARIABLE_VALUE
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@GLOBAL.binlog_format);
|
|
COUNT(@@GLOBAL.binlog_format)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(VARIABLE_VALUE)
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='binlog_format';
|
|
COUNT(VARIABLE_VALUE)
|
|
1
|
|
1 Expected
|
|
'#---------------------BS_STVARS_002_04----------------------#'
|
|
SELECT @@SESSION.binlog_format = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
|
WHERE VARIABLE_NAME='binlog_format';
|
|
@@SESSION.binlog_format = VARIABLE_VALUE
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@SESSION.binlog_format);
|
|
COUNT(@@SESSION.binlog_format)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(VARIABLE_VALUE)
|
|
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
|
WHERE VARIABLE_NAME='binlog_format';
|
|
COUNT(VARIABLE_VALUE)
|
|
1
|
|
1 Expected
|
|
'#---------------------BS_STVARS_002_05----------------------#'
|
|
SELECT COUNT(@@binlog_format);
|
|
COUNT(@@binlog_format)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@local.binlog_format);
|
|
COUNT(@@local.binlog_format)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@SESSION.binlog_format);
|
|
COUNT(@@SESSION.binlog_format)
|
|
1
|
|
1 Expected
|
|
SELECT COUNT(@@GLOBAL.binlog_format);
|
|
COUNT(@@GLOBAL.binlog_format)
|
|
1
|
|
1 Expected
|
|
SET @@global.binlog_format= @start_value;
|