⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
t
/
View File Name :
user_var-binlog.test
# The include statement below is a temp one for tests that are yet to #be ported to run with InnoDB, #but needs to be kept for tests that would need MyISAM in future. --source include/force_myisam_default.inc # Requires statement logging -- source include/force_binlog_format_statement.inc # TODO: Create row based version once $MYSQL_BINLOG has new RB version # Check that user variables are binlogged correctly (BUG#3875) create table t1 (a varchar(50)); reset master; SET TIMESTAMP=10000; SET @`a b`='hello'; INSERT INTO t1 VALUES(@`a b`); set @var1= "';aaa"; SET @var2=char(ascii('a')); insert into t1 values (@var1),(@var2); source include/show_binlog_events.inc; # more important than SHOW BINLOG EVENTS, mysqlbinlog (where we # absolutely need variables names to be quoted and strings to be # escaped). let $MYSQLD_DATADIR= `select @@datadir`; flush logs; --let $mysqlbinlog_parameters= --short-form $MYSQLD_DATADIR/master-bin.000001 --source include/mysqlbinlog.inc drop table t1; # End of 4.1 tests --source include/restore_default_binlog_format.inc