1
0
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:
Sergei Golubchik
2025-04-29 19:06:32 +02:00
parent ee9359de89
commit 3e9e1a25b7
12 changed files with 37 additions and 1 deletions

View File

@@ -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

View File

@@ -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