File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -4785,26 +4785,6 @@ fil_space_for_table_exists_in_mem(
4785
4785
return (valid);
4786
4786
}
4787
4787
4788
- /* * Return the space ID based on the tablespace name.
4789
- The tablespace must be found in the tablespace memory cache.
4790
- This call is made from external to this module, so the mutex is not owned.
4791
- @param[in] tablespace Tablespace name
4792
- @return space ID if tablespace found, ULINT_UNDEFINED if space not. */
4793
- ulint
4794
- fil_space_get_id_by_name (
4795
- const char * tablespace)
4796
- {
4797
- mutex_enter (&fil_system->mutex );
4798
-
4799
- /* Search for a space with the same name. */
4800
- fil_space_t * space = fil_space_get_by_name (tablespace);
4801
- ulint id = (space == NULL ) ? ULINT_UNDEFINED : space->id ;
4802
-
4803
- mutex_exit (&fil_system->mutex );
4804
-
4805
- return (id);
4806
- }
4807
-
4808
4788
/* ========== RESERVE FREE EXTENTS (for a B-tree split, for example) ===*/
4809
4789
4810
4790
/* ******************************************************************/ /* *
Original file line number Diff line number Diff line change @@ -1424,15 +1424,6 @@ char*
1424
1424
fil_path_to_space_name (
1425
1425
const char * filename);
1426
1426
1427
- /* * Returns the space ID based on the tablespace name.
1428
- The tablespace must be found in the tablespace memory cache.
1429
- This call is made from external to this module, so the mutex is not owned.
1430
- @param[in] tablespace Tablespace name
1431
- @return space ID if tablespace found, ULINT_UNDEFINED if space not. */
1432
- ulint
1433
- fil_space_get_id_by_name (
1434
- const char * tablespace);
1435
-
1436
1427
/* * Generate redo log for swapping two .ibd files
1437
1428
@param[in] old_table old table
1438
1429
@param[in] new_table new table
You can’t perform that action at this time.
0 commit comments