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
5c1da273
Commit
5c1da273
authored
Jan 19, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small bugfix
parent
14c052b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
myisam/mi_check.c
myisam/mi_check.c
+2
-2
No files found.
myisam/mi_check.c
View file @
5c1da273
...
@@ -382,6 +382,8 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
...
@@ -382,6 +382,8 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
bzero
((
char
*
)
&
param
->
unique_count
,
sizeof
(
param
->
unique_count
));
bzero
((
char
*
)
&
param
->
unique_count
,
sizeof
(
param
->
unique_count
));
if
((
!
(
param
->
testflag
&
T_SILENT
)))
if
((
!
(
param
->
testflag
&
T_SILENT
)))
printf
(
"- check data record references index: %d
\n
"
,
key
+
1
);
printf
(
"- check data record references index: %d
\n
"
,
key
+
1
);
if
(
keyinfo
->
flag
&
HA_FULLTEXT
)
full_text_keys
++
;
if
(
share
->
state
.
key_root
[
key
]
==
HA_OFFSET_ERROR
&&
if
(
share
->
state
.
key_root
[
key
]
==
HA_OFFSET_ERROR
&&
(
info
->
state
->
records
==
0
||
keyinfo
->
flag
&
HA_FULLTEXT
))
(
info
->
state
->
records
==
0
||
keyinfo
->
flag
&
HA_FULLTEXT
))
continue
;
continue
;
...
@@ -432,8 +434,6 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
...
@@ -432,8 +434,6 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
continue
;
continue
;
}
}
}
}
else
full_text_keys
++
;
if
((
uint
)
share
->
base
.
auto_key
-
1
==
key
)
if
((
uint
)
share
->
base
.
auto_key
-
1
==
key
)
{
{
/* Check that auto_increment key is bigger than max key value */
/* Check that auto_increment key is bigger than max key value */
...
...
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