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
32a98783
Commit
32a98783
authored
Apr 23, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row0mysql.c:
Give sensible advice to the user if InnoDB notices index corruption
parent
2705a9e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+11
-0
No files found.
innobase/row/row0mysql.c
View file @
32a98783
...
@@ -276,6 +276,17 @@ handle_new_error:
...
@@ -276,6 +276,17 @@ handle_new_error:
"InnoDB: my.cnf and restart the database.
\n
"
);
"InnoDB: my.cnf and restart the database.
\n
"
);
exit
(
1
);
exit
(
1
);
}
else
if
(
err
==
DB_CORRUPTION
)
{
fprintf
(
stderr
,
"InnoDB: We detected index corruption in an InnoDB type table.
\n
"
"InnoDB: You have to dump + drop + reimport the table or, in
\n
"
"InnoDB: a case of widespread corruption, dump all InnoDB
\n
"
"InnoDB: tables and recreate the whole InnoDB tablespace.
\n
"
"InnoDB: If the mysqld server crashes after the startup or when
\n
"
"InnoDB: you dump the tables, look at section 6.1 of
\n
"
"InnoDB: http://www.innodb.com/ibman.html for help.
\n
"
);
}
else
{
}
else
{
fprintf
(
stderr
,
"InnoDB: unknown error code %lu
\n
"
,
err
);
fprintf
(
stderr
,
"InnoDB: unknown error code %lu
\n
"
,
err
);
ut_a
(
0
);
ut_a
(
0
);
...
...
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