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