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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cefeb59a
Commit
cefeb59a
authored
Mar 20, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Replace fil_get_space_for_id_low() with fil_space_get_by_id().
parent
68247c5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
fil/fil0fil.c
fil/fil0fil.c
+1
-24
No files found.
fil/fil0fil.c
View file @
cefeb59a
...
@@ -1324,29 +1324,6 @@ fil_space_free(
...
@@ -1324,29 +1324,6 @@ fil_space_free(
return
(
TRUE
);
return
(
TRUE
);
}
}
#ifdef UNIV_HOTBACKUP
/***********************************************************************
Returns the tablespace object for a given id, or NULL if not found from the
tablespace memory cache. */
static
fil_space_t
*
fil_get_space_for_id_low
(
/*=====================*/
/* out: tablespace object or NULL; NOTE that you must
own &(fil_system->mutex) to call this function! */
ulint
id
)
/* in: space id */
{
fil_system_t
*
system
=
fil_system
;
fil_space_t
*
space
;
ut_ad
(
system
);
space
=
fil_space_get_by_id
(
id
);
return
(
space
);
}
#endif
/***********************************************************************
/***********************************************************************
Returns the size of the space in pages. The tablespace must be cached in the
Returns the size of the space in pages. The tablespace must be cached in the
memory cache. */
memory cache. */
...
@@ -3309,7 +3286,7 @@ fil_load_single_table_tablespace(
...
@@ -3309,7 +3286,7 @@ fil_load_single_table_tablespace(
mutex_enter
(
&
(
fil_system
->
mutex
));
mutex_enter
(
&
(
fil_system
->
mutex
));
space
=
fil_
get_space_for_id_low
(
space_id
);
space
=
fil_
space_get_by_id
(
space_id
);
if
(
space
)
{
if
(
space
)
{
char
*
new_path
;
char
*
new_path
;
...
...
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