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
1670845c
Commit
1670845c
authored
Nov 24, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed that one can use --maria-recover=backup,force
(Before we only allowed one option)
parent
d26aefb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
storage/maria/ha_maria.cc
storage/maria/ha_maria.cc
+2
-2
storage/maria/ha_maria.h
storage/maria/ha_maria.h
+1
-1
No files found.
storage/maria/ha_maria.cc
View file @
1670845c
...
...
@@ -60,7 +60,7 @@ ulonglong pagecache_buffer_size;
good. It would happen only after Recovery, if the table is still
corrupted.
*/
ulong
maria_recover_options
=
HA_RECOVER_NONE
;
ulong
long
maria_recover_options
=
HA_RECOVER_NONE
;
handlerton
*
maria_hton
;
/* bits in maria_recover_options */
...
...
@@ -198,7 +198,7 @@ static MYSQL_SYSVAR_ULONG(pagecache_division_limit, pagecache_division_limit,
"The minimum percentage of warm blocks in key cache"
,
0
,
0
,
100
,
1
,
100
,
1
);
static
MYSQL_SYSVAR_
ENUM
(
recover
,
maria_recover_options
,
PLUGIN_VAR_OPCMDARG
,
static
MYSQL_SYSVAR_
SET
(
recover
,
maria_recover_options
,
PLUGIN_VAR_OPCMDARG
,
"Specifies how corrupted tables should be automatically repaired."
" Possible values are
\"
NORMAL
\"
(the default),
\"
BACKUP
\"
,
\"
FORCE
\"
,"
"
\"
QUICK
\"
, or
\"
OFF
\"
which is like not using the option."
,
...
...
storage/maria/ha_maria.h
View file @
1670845c
...
...
@@ -30,7 +30,7 @@
extern
ulong
maria_sort_buffer_size
;
extern
TYPELIB
maria_recover_typelib
;
extern
ulong
maria_recover_options
;
extern
ulong
long
maria_recover_options
;
class
ha_maria
:
public
handler
{
...
...
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