⚝
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
/
rpl
/
t
/
View File Name :
rpl_row_unsafe_funcs.test
source include/master-slave.inc; source include/have_binlog_format_mixed.inc; # # Bug #30244: row_count/found_rows does not replicate well # connection master; CREATE TABLE t1 (a INT); CREATE TABLE t2 (a INT, b INT); INSERT INTO t1 SELECT 1; connection master1; INSERT INTO t1 VALUES (2),(3),(4),(5),(6); connection master; INSERT INTO t2 SELECT 1, ROW_COUNT(); INSERT INTO t1 VALUES (2),(3),(4); INSERT INTO t2 SELECT 2, ROW_COUNT(); #must return 1 and 3 SELECT b FROM t2 ORDER BY a; --source include/sync_slave_sql_with_master.inc #must return 1 and 3 SELECT b FROM t2 ORDER BY a; connection master; DROP TABLE t1, t2; --source include/sync_slave_sql_with_master.inc connection master; --source include/rpl_end.inc