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
616f46df
Commit
616f46df
authored
Jun 23, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added analyze as alias for optimize
parent
f5fba553
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
sql/ha_innodb.cc
sql/ha_innodb.cc
+6
-0
sql/ha_innodb.h
sql/ha_innodb.h
+1
-0
No files found.
sql/ha_innodb.cc
View file @
616f46df
...
...
@@ -3847,6 +3847,12 @@ ha_innobase::analyze(
return
(
0
);
}
int
ha_innobase
::
optimize
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
)
{
return
ha_innobase
::
analyze
(
thd
,
check_opt
);
}
/***********************************************************************
Tries to check that an InnoDB table is not corrupted. If corruption is
noticed, prints to stderr information about it. In case of corruption
...
...
sql/ha_innodb.h
View file @
616f46df
...
...
@@ -153,6 +153,7 @@ class ha_innobase: public handler
void
position
(
const
byte
*
record
);
void
info
(
uint
);
int
analyze
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
);
int
optimize
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
);
int
extra
(
enum
ha_extra_function
operation
);
int
reset
(
void
);
int
external_lock
(
THD
*
thd
,
int
lock_type
);
...
...
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