⚝
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
/
suite
/
ndb_binlog
/
t
/
View File Name :
ndb_binlog_log_bin.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 -- source include/have_multi_ndb.inc -- source include/have_binlog_format_mixed_or_row.inc --disable_warnings connection server2; drop table if exists t1,t2,t3; reset master; connection server1; drop table if exists t1,t2,t3; reset master; --enable_warnings # basic SQL_LOG_BIN functionality # see updates from one thread but not the other connect (con1,localhost,root,,); connect (con2,localhost,root,,); # do some stuff with SQL_LOG_BIN=0 connection con2; set SQL_LOG_BIN=0; create database mysqltest; use mysqltest; create table t1 (a int key, b int) engine=ndb; create table t2 (a int key, b int) engine=ndb; insert into t1 values (1,1); alter table t1 add c int; # we should not see it in the local server -- source include/show_binlog_events.inc reset master; # we should not see it in another server connection server2; use mysqltest; insert into t2 values (1,1); -- source include/show_binlog_events.inc reset master; # but if you do stuff in "default" client setting connection con1; use mysqltest; drop table t1; drop table t2; create table t1 (d int key, e int) engine=ndb; create table t2 (d int key, e int) engine=ndb; insert into t1 values (1,1); -- source include/show_binlog_events.inc # and in another server connection server2; use mysqltest; insert into t2 values (1,1); -- source include/show_binlog_events.inc drop database mysqltest;