⚝
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 :
partition_innodb_stmt.test
--source include/have_partition.inc --source include/force_binlog_format_statement.inc --source include/have_innodb.inc --echo # connection default SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ; CREATE TABLE t1 ( id SMALLINT NOT NULL, PRIMARY KEY (id) ) ENGINE=innodb PARTITION BY RANGE (id) ( PARTITION p1 VALUES LESS THAN (2), PARTITION p2 VALUES LESS THAN (4), PARTITION p3 VALUES LESS THAN (10) ); INSERT INTO t1 VALUES (1),(2),(3); --echo # Test READ COMMITTED -> REPEATABLE READ FLUSH TABLES; SET TRANSACTION ISOLATION LEVEL READ COMMITTED; BEGIN; SELECT * FROM t1; connect (con1, localhost, root,,); connection con1; --echo #connection con1 SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; BEGIN; INSERT INTO t1 VALUES(7); COMMIT; connection default; --echo # connection default COMMIT; FLUSH TABLES; --echo # Test REPEATABLE READ -> READ COMMITTED SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; BEGIN; SELECT * FROM t1; connection con1; --echo # connection con1 SET TRANSACTION ISOLATION LEVEL READ COMMITTED; BEGIN; --error ER_BINLOG_STMT_MODE_AND_ROW_ENGINE INSERT INTO t1 VALUES(9); COMMIT; disconnect con1; connection default; COMMIT; DROP TABLE t1; --source include/restore_default_binlog_format.inc