@@ -144,8 +144,6 @@ SELECT true::bool FROM yb_lock_status('yb_lock_tests'::regclass, '10000000-2000-
144144-- READ COMMITTED
145145-- Basic insert
146146BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;
147- WARNING: read committed isolation is disabled
148- DETAIL: Set yb_enable_read_committed_isolation to enable. When disabled, read committed falls back to using repeatable read isolation.
149147INSERT INTO yb_lock_tests VALUES (1, 1, 1, 'one', 1, 1);
150148INSERT INTO yb_lock_tests VALUES (2, 2, 2, 'two', 2, 2);
151149SELECT * FROM validate_and_return_lock_status('yb_lock_tests'::regclass, null);
@@ -177,8 +175,6 @@ SELECT * FROM validate_and_return_lock_status('yb_lock_tests_k1_k2'::regclass, n
177175COMMIT;
178176-- Basic Column Update
179177BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;
180- WARNING: read committed isolation is disabled
181- DETAIL: Set yb_enable_read_committed_isolation to enable. When disabled, read committed falls back to using repeatable read isolation.
182178UPDATE yb_lock_tests SET v1 = 2 WHERE k1 = 1 AND k2 = 1;
183179SELECT * FROM validate_and_return_lock_status('yb_lock_tests'::regclass, null);
184180 locktype | relation | mode | granted | fastpath | valid_waitstart | valid_waitend | has_node | has_tablet_id | has_transaction_id | valid_subtransaction_id | has_status_tablet_id | is_explicit | hash_cols | range_cols | attnum | column_id | multiple_rows_locked | num_blocking
@@ -199,8 +195,6 @@ SELECT * FROM validate_and_return_lock_status('yb_lock_tests_k1_k2'::regclass, n
199195ABORT;
200196-- Basic primary key update
201197BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;
202- WARNING: read committed isolation is disabled
203- DETAIL: Set yb_enable_read_committed_isolation to enable. When disabled, read committed falls back to using repeatable read isolation.
204198UPDATE yb_lock_tests SET r1 = 2 WHERE k1 = 1 AND k2 = 1;
205199SELECT * FROM validate_and_return_lock_status('yb_lock_tests'::regclass, null);
206200 locktype | relation | mode | granted | fastpath | valid_waitstart | valid_waitend | has_node | has_tablet_id | has_transaction_id | valid_subtransaction_id | has_status_tablet_id | is_explicit | hash_cols | range_cols | attnum | column_id | multiple_rows_locked | num_blocking
@@ -226,8 +220,6 @@ SELECT * FROM validate_and_return_lock_status('yb_lock_tests_k1_k2'::regclass, n
226220
227221ABORT;
228222BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;
229- WARNING: read committed isolation is disabled
230- DETAIL: Set yb_enable_read_committed_isolation to enable. When disabled, read committed falls back to using repeatable read isolation.
231223UPDATE yb_lock_tests SET k2 = 2 WHERE k1 = 1 AND k2 = 1;
232224SELECT * FROM validate_and_return_lock_status('yb_lock_tests'::regclass, null);
233225 locktype | relation | mode | granted | fastpath | valid_waitstart | valid_waitend | has_node | has_tablet_id | has_transaction_id | valid_subtransaction_id | has_status_tablet_id | is_explicit | hash_cols | range_cols | attnum | column_id | multiple_rows_locked | num_blocking
@@ -255,8 +247,6 @@ SELECT * FROM validate_and_return_lock_status('yb_lock_tests_k1_k2'::regclass, n
255247ABORT;
256248-- SELECT FOR SHARE
257249BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;
258- WARNING: read committed isolation is disabled
259- DETAIL: Set yb_enable_read_committed_isolation to enable. When disabled, read committed falls back to using repeatable read isolation.
260250SELECT * FROM yb_lock_tests FOR SHARE;
261251 k1 | k2 | r1 | r2 | v1 | v2
262252----+----+----+-----+----+----
@@ -285,8 +275,6 @@ SELECT * FROM validate_and_return_lock_status('yb_lock_tests_k1_k2'::regclass, n
285275COMMIT;
286276-- SELECT FOR KEY SHARE
287277BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;
288- WARNING: read committed isolation is disabled
289- DETAIL: Set yb_enable_read_committed_isolation to enable. When disabled, read committed falls back to using repeatable read isolation.
290278SELECT * FROM yb_lock_tests FOR KEY SHARE;
291279 k1 | k2 | r1 | r2 | v1 | v2
292280----+----+----+-----+----+----
@@ -315,8 +303,6 @@ SELECT * FROM validate_and_return_lock_status('yb_lock_tests_k1_k2'::regclass, n
315303COMMIT;
316304-- SELECT FOR UPDATE
317305BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;
318- WARNING: read committed isolation is disabled
319- DETAIL: Set yb_enable_read_committed_isolation to enable. When disabled, read committed falls back to using repeatable read isolation.
320306SELECT * FROM yb_lock_tests FOR UPDATE;
321307 k1 | k2 | r1 | r2 | v1 | v2
322308----+----+----+-----+----+----
0 commit comments