Skip to content
Permalink
Browse files
Merge 10.3 to 10.4
  • Loading branch information
dr-m committed Jun 9, 2021
2 parents b8d38c5 + 75a65d3 commit c7ee039
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
@@ -5239,7 +5239,7 @@ dict_set_corrupted(

/* If this is read only mode, do not update SYS_INDEXES, just
mark it as corrupted in memory */
if (srv_read_only_mode) {
if (high_level_read_only) {
index->type |= DICT_CORRUPT;
goto func_exit;
}
@@ -14816,10 +14816,9 @@ ha_innobase::check(

/* We must run the index record counts at an isolation level
>= READ COMMITTED, because a dirty read can see a wrong number
of records in some index; to play safe, we use always
REPEATABLE READ here (except when undo logs are unavailable) */
m_prebuilt->trx->isolation_level = srv_force_recovery
>= SRV_FORCE_NO_UNDO_LOG_SCAN
of records in some index; to play safe, we normally use
REPEATABLE READ here */
m_prebuilt->trx->isolation_level = high_level_read_only
? TRX_ISO_READ_UNCOMMITTED
: TRX_ISO_REPEATABLE_READ;

0 comments on commit c7ee039

Please sign in to comment.