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
e7a37d41
Commit
e7a37d41
authored
Jan 21, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test case for MyISAM sort-repair bug
parent
6ecd6798
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+6
-0
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+9
-0
No files found.
mysql-test/r/myisam.result
View file @
e7a37d41
...
...
@@ -385,3 +385,9 @@ check table t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
create table t1 ( a text not null, key a (a(20)));
insert into t1 values ('aaa '),('aaa');
repair table t1;
Table Op Msg_type Msg_text
test.t1 repair status OK
drop table t1;
mysql-test/t/myisam.test
View file @
e7a37d41
...
...
@@ -385,3 +385,12 @@ insert into t1 (b) values (repeat('z',100));
update
t1
set
b
=
"test"
where
left
(
b
,
1
)
>
'n'
;
check
table
t1
;
drop
table
t1
;
#
# sort-repair bug
#
create
table
t1
(
a
text
not
null
,
key
a
(
a
(
20
)));
insert
into
t1
values
(
'aaa '
),(
'aaa'
);
repair
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