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
93da3330
Commit
93da3330
authored
Oct 27, 2011
by
Jimmy Yang
Browse files
Options
Browse Files
Download
Plain Diff
Fix Bug #11835889 - INNODB ASSERTS ON BAD FILE READ, INDEX TRANSLATION
TABLE ERROR, RECOVERY
rb://792
approved by Sunny Bains
parents
1b7276ff
d1a80e6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+11
-8
No files found.
storage/innobase/handler/ha_innodb.cc
View file @
93da3330
...
...
@@ -5806,13 +5806,13 @@ ha_innobase::innobase_get_index(
table. Only print message if the index translation
table exists */
if
(
share
->
idx_trans_tbl
.
index_mapping
)
{
sql_print_
error
(
"InnoDB could not find "
"index %s key no %u for "
"table %s through its "
"index translation table"
,
key
?
key
->
name
:
"NULL"
,
keynr
,
prebuilt
->
table
->
name
);
sql_print_
warning
(
"InnoDB could not find "
"index %s key no %u for "
"table %s through its "
"index translation table"
,
key
?
key
->
name
:
"NULL"
,
keynr
,
prebuilt
->
table
->
name
);
}
index
=
dict_table_get_index_on_name
(
prebuilt
->
table
,
...
...
@@ -8285,7 +8285,10 @@ ha_innobase::check(
putc('\n', stderr);
#endif
if
(
!
btr_validate_index
(
index
,
prebuilt
->
trx
))
{
/* If this is an index being created, break */
if
(
*
index
->
name
==
TEMP_INDEX_PREFIX
)
{
break
;
}
else
if
(
!
btr_validate_index
(
index
,
prebuilt
->
trx
))
{
is_ok
=
FALSE
;
innobase_format_name
(
...
...
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