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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f26ae212
Commit
f26ae212
authored
Jul 01, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
myisam/mi_check.c: Auto merged
parents
b09ab341
05939f45
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
myisam/mi_check.c
myisam/mi_check.c
+13
-3
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+3
-0
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+1
-1
No files found.
myisam/mi_check.c
View file @
f26ae212
...
...
@@ -2503,6 +2503,10 @@ static int sort_key_read(MI_SORT_PARAM *sort_param, void *key)
(
info
->
s
->
rec_reflength
+
_mi_make_key
(
info
,
sort_param
->
key
,
(
uchar
*
)
key
,
sort_param
->
record
,
sort_param
->
filepos
));
#ifdef HAVE_purify
bzero
(
key
+
sort_param
->
real_key_length
,
(
sort_param
->
key_length
-
sort_param
->
real_key_length
));
#endif
DBUG_RETURN
(
sort_write_record
(
sort_param
));
}
/* sort_key_read */
...
...
@@ -2536,8 +2540,14 @@ static int sort_ft_key_read(MI_SORT_PARAM *sort_param, void *key)
wptr
=
(
FT_WORD
*
)(
sort_param
->
wordptr
);
}
sort_param
->
real_key_length
=
info
->
s
->
rec_reflength
+
_ft_make_key
(
info
,
sort_param
->
key
,
key
,
wptr
++
,
sort_param
->
filepos
);
sort_param
->
real_key_length
=
(
info
->
s
->
rec_reflength
+
_ft_make_key
(
info
,
sort_param
->
key
,
key
,
wptr
++
,
sort_param
->
filepos
));
#ifdef HAVE_purify
if
(
sort_param
->
key_length
>
sort_param
->
real_key_length
)
bzero
(
key
+
sort_param
->
real_key_length
,
(
sort_param
->
key_length
-
sort_param
->
real_key_length
));
#endif
if
(
!
wptr
->
pos
)
{
my_free
((
char
*
)
sort_param
->
wordlist
,
MYF
(
0
));
...
...
@@ -2546,10 +2556,10 @@ static int sort_ft_key_read(MI_SORT_PARAM *sort_param, void *key)
else
sort_param
->
wordptr
=
(
void
*
)
wptr
;
DBUG_RETURN
(
error
);
}
/* sort_ft_key_read */
/* Read next record from file using parameters in sort_info */
/* Return -1 if end of file, 0 if ok and > 0 if error */
...
...
mysql-test/r/myisam.result
View file @
f26ae212
...
...
@@ -96,4 +96,7 @@ INSERT INTO t1 (post_text) VALUES ('ceci est un test'),('ceci est un test'),('ce
REPAIR TABLE t1;
Table Op Msg_type Msg_text
test.t1 repair status OK
CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
mysql-test/t/myisam.test
View file @
f26ae212
...
...
@@ -91,5 +91,5 @@ CREATE TABLE `t1` (
INSERT
INTO
t1
(
post_text
)
VALUES
(
'ceci est un test'
),(
'ceci est un test'
),(
'ceci est un test'
),(
'ceci est un test'
),(
'ceci est un test'
);
REPAIR
TABLE
t1
;
CHECK
TABLE
t1
;
drop
table
t1
;
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