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
b55ec587
Commit
b55ec587
authored
Jun 02, 2010
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fil_print_orphaned_tablespaces(): Unused function, remove.
parent
9f278a36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
43 deletions
+0
-43
storage/innodb_plugin/fil/fil0fil.c
storage/innodb_plugin/fil/fil0fil.c
+0
-33
storage/innodb_plugin/include/fil0fil.h
storage/innodb_plugin/include/fil0fil.h
+0
-10
No files found.
storage/innodb_plugin/fil/fil0fil.c
View file @
b55ec587
...
...
@@ -3542,39 +3542,6 @@ fil_load_single_table_tablespaces(void)
return
(
err
);
}
/********************************************************************//**
If we need crash recovery, and we have called
fil_load_single_table_tablespaces() and dict_load_single_table_tablespaces(),
we can call this function to print an error message of orphaned .ibd files
for which there is not a data dictionary entry with a matching table name
and space id. */
UNIV_INTERN
void
fil_print_orphaned_tablespaces
(
void
)
/*================================*/
{
fil_space_t
*
space
;
mutex_enter
(
&
fil_system
->
mutex
);
space
=
UT_LIST_GET_FIRST
(
fil_system
->
space_list
);
while
(
space
)
{
if
(
space
->
purpose
==
FIL_TABLESPACE
&&
space
->
id
!=
0
&&
!
space
->
mark
)
{
fputs
(
"InnoDB: Warning: tablespace "
,
stderr
);
ut_print_filename
(
stderr
,
space
->
name
);
fprintf
(
stderr
,
" of id %lu has no matching table in
\n
"
"InnoDB: the InnoDB data dictionary.
\n
"
,
(
ulong
)
space
->
id
);
}
space
=
UT_LIST_GET_NEXT
(
space_list
,
space
);
}
mutex_exit
(
&
fil_system
->
mutex
);
}
/*******************************************************************//**
Returns TRUE if a single-table tablespace does not exist in the memory cache,
or is being deleted there.
...
...
storage/innodb_plugin/include/fil0fil.h
View file @
b55ec587
...
...
@@ -506,16 +506,6 @@ UNIV_INTERN
ulint
fil_load_single_table_tablespaces
(
void
);
/*===================================*/
/********************************************************************//**
If we need crash recovery, and we have called
fil_load_single_table_tablespaces() and dict_load_single_table_tablespaces(),
we can call this function to print an error message of orphaned .ibd files
for which there is not a data dictionary entry with a matching table name
and space id. */
UNIV_INTERN
void
fil_print_orphaned_tablespaces
(
void
);
/*================================*/
/*******************************************************************//**
Returns TRUE if a single-table tablespace does not exist in the memory cache,
or is being deleted there.
...
...
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