mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-29479 I_S.INNODB_SYS_TABLESPACES doesn't have temporary tablespace information
- innodb_sys_tablespaces view in information schema displays temporary tablespace information too.
This commit is contained in:
@ -181,3 +181,10 @@ test/parent 1 2
|
|||||||
DROP TABLE child;
|
DROP TABLE child;
|
||||||
DROP TABLE parent;
|
DROP TABLE parent;
|
||||||
SET GLOBAL innodb_purge_rseg_truncate_frequency=@save_frequency;
|
SET GLOBAL innodb_purge_rseg_truncate_frequency=@save_frequency;
|
||||||
|
#
|
||||||
|
# MDEV-29479 I_S.INNODB_SYS_TABLESPACES doesn't have
|
||||||
|
# temporary tablespace information
|
||||||
|
#
|
||||||
|
SELECT SPACE FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES WHERE name like 'innodb_temporary';
|
||||||
|
SPACE
|
||||||
|
4294967294
|
||||||
|
@ -141,3 +141,9 @@ DROP TABLE child;
|
|||||||
|
|
||||||
DROP TABLE parent;
|
DROP TABLE parent;
|
||||||
SET GLOBAL innodb_purge_rseg_truncate_frequency=@save_frequency;
|
SET GLOBAL innodb_purge_rseg_truncate_frequency=@save_frequency;
|
||||||
|
|
||||||
|
--echo #
|
||||||
|
--echo # MDEV-29479 I_S.INNODB_SYS_TABLESPACES doesn't have
|
||||||
|
--echo # temporary tablespace information
|
||||||
|
--echo #
|
||||||
|
SELECT SPACE FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES WHERE name like 'innodb_temporary';
|
||||||
|
@ -6824,6 +6824,11 @@ i_s_sys_tablespaces_fill_table(
|
|||||||
mutex_exit(&dict_sys->mutex);
|
mutex_exit(&dict_sys->mutex);
|
||||||
mem_heap_free(heap);
|
mem_heap_free(heap);
|
||||||
|
|
||||||
|
i_s_dict_fill_sys_tablespaces(
|
||||||
|
thd, fil_system.temp_space->id,
|
||||||
|
fil_system.temp_space->name,
|
||||||
|
fil_system.temp_space->flags, tables->table);
|
||||||
|
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
}
|
}
|
||||||
/*******************************************************************//**
|
/*******************************************************************//**
|
||||||
|
Reference in New Issue
Block a user