Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d177a0ed
Commit
d177a0ed
authored
Mar 28, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function fil_space_get_id_by_name()
parent
980dd09b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
storage/innobase/fil/fil0fil.cc
storage/innobase/fil/fil0fil.cc
+0
-20
storage/innobase/include/fil0fil.h
storage/innobase/include/fil0fil.h
+0
-9
No files found.
storage/innobase/fil/fil0fil.cc
View file @
d177a0ed
...
...
@@ -4785,26 +4785,6 @@ fil_space_for_table_exists_in_mem(
return
(
valid
);
}
/** Return the space ID based on the tablespace name.
The tablespace must be found in the tablespace memory cache.
This call is made from external to this module, so the mutex is not owned.
@param[in] tablespace Tablespace name
@return space ID if tablespace found, ULINT_UNDEFINED if space not. */
ulint
fil_space_get_id_by_name
(
const
char
*
tablespace
)
{
mutex_enter
(
&
fil_system
->
mutex
);
/* Search for a space with the same name. */
fil_space_t
*
space
=
fil_space_get_by_name
(
tablespace
);
ulint
id
=
(
space
==
NULL
)
?
ULINT_UNDEFINED
:
space
->
id
;
mutex_exit
(
&
fil_system
->
mutex
);
return
(
id
);
}
/*========== RESERVE FREE EXTENTS (for a B-tree split, for example) ===*/
/*******************************************************************//**
...
...
storage/innobase/include/fil0fil.h
View file @
d177a0ed
...
...
@@ -1424,15 +1424,6 @@ char*
fil_path_to_space_name
(
const
char
*
filename
);
/** Returns the space ID based on the tablespace name.
The tablespace must be found in the tablespace memory cache.
This call is made from external to this module, so the mutex is not owned.
@param[in] tablespace Tablespace name
@return space ID if tablespace found, ULINT_UNDEFINED if space not. */
ulint
fil_space_get_id_by_name
(
const
char
*
tablespace
);
/** Generate redo log for swapping two .ibd files
@param[in] old_table old table
@param[in] new_table new table
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment