1 2# 3# binlog_off.test purpose is to verify that the --skip-log-bin flag 4# works correctly 5# 6 7--disable_warnings 8DROP TABLE IF EXISTS t1, t2; 9--enable_warnings 10 11# 12# Bug #38798 Assertion mysql_bin_log.is_open() failed in 13# binlog_trans_log_savepos() 14# Testing that there is no crash. 15# Before BUG#38798, the code for CREATE...SELECT called an internal function to 16# binlog the statement, even with --skip-log-bin. This caused an assertion 17# to be thrown since the binlog was not open. 18 19set @@session.binlog_format=row; 20 21create table t1 (a int); 22insert into t1 values (1); 23create table t2 select * from t1; 24 25# clean-up 26drop table t1, t2; 27