polardbxengine/mysql-test/suite/engines/rr_trx/t/rr_s_select-uncommitted.test

14 lines
387 B
Plaintext

################################################################################
#
# No uncommitted changes should be visible to a REPEATABLE-READ transaction
#
################################################################################
SET autocommit = 0;
START TRANSACTION;
--error 0, ER_LOCK_DEADLOCK, ER_LOCK_WAIT_TIMEOUT
SELECT * FROM t1 WHERE `is_uncommitted` > 0;
COMMIT;