mirror of
https://github.com/MariaDB/server.git
synced 2026-05-11 17:40:11 +02:00
Remove unnecessary SysTablespace references
This commit is contained in:
parent
622d21e2b8
commit
3eb73bf630
3 changed files with 5 additions and 5 deletions
|
|
@ -5186,7 +5186,7 @@ fil_io(
|
|||
break;
|
||||
|
||||
} else {
|
||||
if (space->id != srv_sys_space.space_id()
|
||||
if (space->id != TRX_SYS_SPACE
|
||||
&& UT_LIST_GET_LEN(space->chain) == 1
|
||||
&& (srv_is_tablespace_truncated(space->id)
|
||||
|| space->is_being_truncated
|
||||
|
|
@ -5238,7 +5238,7 @@ fil_io(
|
|||
/* Check that at least the start offset is within the bounds of a
|
||||
single-table tablespace, including rollback tablespaces. */
|
||||
if (node->size <= cur_page_no
|
||||
&& space->id != srv_sys_space.space_id()
|
||||
&& space->id != TRX_SYS_SPACE
|
||||
&& fil_type_is_data(space->purpose)) {
|
||||
|
||||
if (req_type.ignore_missing()) {
|
||||
|
|
|
|||
|
|
@ -942,7 +942,7 @@ fsp_try_extend_data_file(fil_space_t* space, fsp_header_t* header, mtr_t* mtr)
|
|||
|
||||
ut_d(fsp_space_modify_check(space, mtr));
|
||||
|
||||
if (space->id == srv_sys_space.space_id()
|
||||
if (space->id == TRX_SYS_SPACE
|
||||
&& !srv_sys_space.can_auto_extend_last_file()) {
|
||||
|
||||
/* We print the error message only once to avoid
|
||||
|
|
@ -956,7 +956,7 @@ fsp_try_extend_data_file(fil_space_t* space, fsp_header_t* header, mtr_t* mtr)
|
|||
srv_sys_space.set_tablespace_full_status(true);
|
||||
}
|
||||
return(0);
|
||||
} else if (fsp_is_system_temporary(space->id)
|
||||
} else if (space->id == SRV_TMP_SPACE_ID
|
||||
&& !srv_tmp_space.can_auto_extend_last_file()) {
|
||||
|
||||
/* We print the error message only once to avoid
|
||||
|
|
|
|||
|
|
@ -640,7 +640,7 @@ row_quiesce_set_state(
|
|||
ER_CANNOT_DISCARD_TEMPORARY_TABLE);
|
||||
|
||||
return(DB_UNSUPPORTED);
|
||||
} else if (table->space == srv_sys_space.space_id()) {
|
||||
} else if (table->space == TRX_SYS_SPACE) {
|
||||
|
||||
char table_name[MAX_FULL_NAME_LEN + 1];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue