Skip to content

Commit

Permalink
Remove TODOs for Add lock information to lock timeout error message
Browse files Browse the repository at this point in the history
Summary:
Notice: Only outdated TODOs were removed in this commit

Squash with D17622863 (f73ba40)

Reviewed By: yizhang82

Differential Revision: D22213362

fbshipit-source-id: 64b3b80
  • Loading branch information
lth authored and facebook-github-bot committed Jun 27, 2020
1 parent 3380d50 commit 7e1918a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 22 deletions.
6 changes: 0 additions & 6 deletions mysql-test/suite/rocksdb/t/hermitage.inc
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ if ($trx_isolation == "READ COMMITTED")
}
if ($trx_isolation == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
select variable_value-@a from performance_schema.global_status where variable_name='rocksdb_snapshot_conflict_errors';
Expand Down Expand Up @@ -157,8 +155,6 @@ if ($trx_isolation == "READ COMMITTED")
}
if ($trx_isolation == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
}
Expand Down Expand Up @@ -211,8 +207,6 @@ if ($trx_isolation == "READ COMMITTED")
}
if ($trx_isolation == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
delete from test where value = 20;
}
Expand Down
2 changes: 0 additions & 2 deletions mysql-test/suite/rocksdb/t/issue111.test
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ commit;

connection default;

# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
update t1 set col2=col2+1 where col1 < 10 limit 5;

Expand Down
4 changes: 0 additions & 4 deletions mysql-test/suite/rocksdb/t/rocksdb_concurrent_delete.inc
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ SET debug_sync='now SIGNAL go';
connection con;
if ($isolation_level == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
}
Expand All @@ -91,8 +89,6 @@ SET debug_sync='now SIGNAL go';
connection con;
if ($isolation_level == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ set debug_sync='now SIGNAL go';
connection con;
if ($isolation_level == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
}
Expand All @@ -70,8 +68,6 @@ set debug_sync='now SIGNAL go';
connection con;
if ($isolation_level == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
}
Expand Down
4 changes: 0 additions & 4 deletions mysql-test/suite/rocksdb/t/rocksdb_concurrent_delete_sk.inc
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ SET debug_sync='now SIGNAL go';
connection con;
if ($isolation_level == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
}
Expand All @@ -68,8 +66,6 @@ SET debug_sync='now SIGNAL go';
connection con;
if ($isolation_level == "REPEATABLE READ")
{
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
reap;
}
Expand Down
2 changes: 0 additions & 2 deletions mysql-test/suite/rocksdb/t/rocksdb_locks.test
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ UPDATE t1 SET value=30 WHERE id=3;
COMMIT;

--connection con1
# TODO(yzha) - Update error message once following patch is ported
# 1e50e3fe7bf Add lock information to lock timeout error message
--error ER_LOCK_DEADLOCK
SELECT * FROM t1 WHERE id=3 FOR UPDATE;

Expand Down

0 comments on commit 7e1918a

Please sign in to comment.