1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-05 12:42:17 +03:00
Files
mariadb/mysql-test/suite/engines/rr_trx/t/rr_s_select-uncommitted.test
Omer BarNir c92b9b7315 Test suites for engine testing, moved from test-extra so will be available
for general use.


mysql-test/Makefile.am:
  Adding directories of additional test suites
mysql-test/mysql-stress-test.pl:
  Adding check for additional errors checking during test run
2010-03-17 23:42:07 -07:00

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;