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
b1e1d5b0
Commit
b1e1d5b0
authored
May 03, 2001
by
jcole@tetra.spaceapes.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed example that was wrong in manual.
parent
83221a47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
22 deletions
+10
-22
Docs/manual.texi
Docs/manual.texi
+10
-22
No files found.
Docs/manual.texi
View file @
b1e1d5b0
...
@@ -34240,9 +34240,8 @@ Record file is crashed
...
@@ -34240,9 +34240,8 @@ Record file is crashed
@item
@item
Got error ### from table handler
Got error ### from table handler
To get more information about the error you can do @code{perror
To get more information about the error you can run @code{perror ###}. Here
###}. Here is the most common errors that indicates a problem with the
is the most common errors that indicates a problem with the table:
table:
@example
@example
shell> perror 126 127 132 134 135 136 141 144 145
shell> perror 126 127 132 134 135 136 141 144 145
...
@@ -34260,22 +34259,11 @@ shell> perror 126 127 132 134 135 136 141 144 145
...
@@ -34260,22 +34259,11 @@ shell> perror 126 127 132 134 135 136 141 144 145
Note that error 135, no more room in record file, is not an error that
Note that error 135, no more room in record file, is not an error that
can be fixed by a simple repair. In this case you have to do:
can be fixed by a simple repair. In this case you have to do:
@itemize @bullet
@example
@item
ALTER TABLE table MAX_ROWS=xxx AVG_ROW_LENGTH=yyy;
@code{CREATE TABLE ...} for the table with proper @code{MAX_ROWS} and
@end example
@code{AVG_ROW_LENGTH} values. @xref{CREATE TABLE}.
@item
Copy the data over from the old table with @code{INSERT INTO new_table
SELECT * from old_table}.
@item
Rename the old table to the new table:
@code{RENAME old_table to tmp_table, new_table to old_table}
@item
Delete the old table: @code{DROP TABLE tmp_table}.
@end itemize
@end itemize
In the
se
cases, you must repair your tables. @code{myisamchk}
In the
other
cases, you must repair your tables. @code{myisamchk}
can usually detect and fix most things that go wrong.
can usually detect and fix most things that go wrong.
The repair process involves up to four stages, described below. Before you
The repair process involves up to four stages, described below. Before you
...
@@ -34285,12 +34273,12 @@ that @code{mysqld} runs as (and to you, because you need to access the files
...
@@ -34285,12 +34273,12 @@ that @code{mysqld} runs as (and to you, because you need to access the files
you are checking). If it turns out you need to modify files, they must also
you are checking). If it turns out you need to modify files, they must also
be writable by you.
be writable by you.
If you are using @strong{MySQL} Version 3.23.16 and above, you can (and
should) use the
If you are using @strong{MySQL} Version 3.23.16 and above, you can (and
@code{CHECK} and @code{REPAIR} commands to check and repair @code{MyISAM}
should) use the @code{CHECK} and @code{REPAIR} commands to check and repair
tables. @xref{CHECK TABLE}.
@xref{REPAIR TABLE}.
@code{MyISAM} tables. @xref{CHECK TABLE}.
@xref{REPAIR TABLE}.
The manual section about table maintenance includes the options to
The manual section about table maintenance includes the options to
@code{isamchk}/@code{myisamchk}. @xref{Table maintenance}.
@code{isamchk}/@code{myisamchk}.
@xref{Table maintenance}.
The following section is for the cases where the above command fails or
The following section is for the cases where the above command fails or
if you want to use the extended features that @code{isamchk}/@code{myisamchk} provides.
if you want to use the extended features that @code{isamchk}/@code{myisamchk} provides.
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