Closed laurynas-biveinis closed 7 months ago
This PR contains https://github.com/facebook/mysql-5.6/pull/1381 and ddse.test
from https://github.com/facebook/mysql-5.6/pull/1383, to which it appends. These PRs should be merged first
@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@laurynas-biveinis has updated the pull request. You must reimport the pull request before landing.
@luqun, rebased. #1381 dependency is dropped but #1383 dependency remains
@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@luqun, rebased. #1381 dependency is dropped but #1383 dependency remains
@laurynas-biveinis has updated the pull request. You must reimport the pull request before landing.
@luqun rebased, added a table_share != nullptr
assert. All dependencies dropped now.
@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
If the current transaction isolation level is lower than READ COMMITTED, or higher than REPEATABLE READ, allow it silently if it's a DD operation. The rest of MyRocks code will work by silently clamping to the nearest supported level, and the clamped level is good enough for DD operations. InnoDB has similar code, even though it supports the other isolation levels.