mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-36566 SELECT create_temporary_table_binlog_formats should show exactly what it is SET to
added a warning
This commit is contained in:
@@ -201,6 +201,8 @@ DROP TABLE t3;
|
||||
DROP DATABASE db1;
|
||||
set binlog_format=mixed;
|
||||
SET @@create_tmp_table_binlog_formats="mixed";
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect create_tmp_table_binlog_formats value: 'MIXED'
|
||||
select @@binlog_format, @@create_tmp_table_binlog_formats;
|
||||
@@binlog_format @@create_tmp_table_binlog_formats
|
||||
MIXED MIXED,STATEMENT
|
||||
|
@@ -1,5 +1,9 @@
|
||||
set @@session.create_tmp_table_binlog_formats="MIXED";
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect create_tmp_table_binlog_formats value: 'MIXED'
|
||||
set @@global.create_tmp_table_binlog_formats="MIXED";
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect create_tmp_table_binlog_formats value: 'MIXED'
|
||||
DROP DATABASE IF EXISTS `drop-temp+table-test`;
|
||||
select @@session.binlog_format;
|
||||
@@session.binlog_format
|
||||
|
Reference in New Issue
Block a user