summaryrefslogtreecommitdiff
path: root/mysql-test/main/mysql_tzinfo_to_sql_symlink.result
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-05-03 10:59:54 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-05-03 10:59:54 +0200
commit9614fde1aac6ffa4745804342ff70a96b2418e30 (patch)
treed53f4578ce0a6b5cf30f3eef854d50c16fbabcee /mysql-test/main/mysql_tzinfo_to_sql_symlink.result
parent182b8a29e7a1a0f0fbffeed39518c2c9dc026e13 (diff)
parent70555454b4c224e85383d482411961c7f2eba2e2 (diff)
downloadmariadb-git-9614fde1aac6ffa4745804342ff70a96b2418e30.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'mysql-test/main/mysql_tzinfo_to_sql_symlink.result')
-rw-r--r--mysql-test/main/mysql_tzinfo_to_sql_symlink.result23
1 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/main/mysql_tzinfo_to_sql_symlink.result b/mysql-test/main/mysql_tzinfo_to_sql_symlink.result
index f56a2df2012..5753a719769 100644
--- a/mysql-test/main/mysql_tzinfo_to_sql_symlink.result
+++ b/mysql-test/main/mysql_tzinfo_to_sql_symlink.result
@@ -149,6 +149,29 @@ ALTER TABLE time_zone_transition_type ENGINE=MyISAM;
END IF|
\d ;
#
+# MDEV-28263: mariadb-tzinfo-to-sql improve wsrep and binlog cases
+#
+#
+# Testing --skip-write-binlog
+#
+set @prep1=if((select count(*) from information_schema.global_variables where variable_name='wsrep_on' and variable_value='ON'), 'SET SESSION WSREP_ON=OFF', 'do 0');
+SET SESSION SQL_LOG_BIN=0;
+execute immediate @prep1;
+INSERT INTO time_zone (Use_leap_seconds) VALUES ('N');
+SET @time_zone_id= LAST_INSERT_ID();
+INSERT INTO time_zone_name (Name, Time_zone_id) VALUES ('XXX', @time_zone_id);
+INSERT INTO time_zone_transition_type (Time_zone_id, Transition_type_id, Offset, Is_DST, Abbreviation) VALUES
+ (@time_zone_id, 0, 0, 0, 'GMT')
+;
+set @prep1=if((select count(*) from information_schema.global_variables where variable_name='wsrep_on' and variable_value='ON'), 'SET SESSION WSREP_ON=OFF', 'do 0');
+SET SESSION SQL_LOG_BIN=0;
+execute immediate @prep1;
+TRUNCATE TABLE time_zone_leap_second;
+ALTER TABLE time_zone_leap_second ORDER BY Transition_time;
+#
+# End of 10.2 tests
+#
+#
# MDEV-6236 - [PATCH] mysql_tzinfo_to_sql may produce invalid SQL
#
\d |