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
30f0c495
Commit
30f0c495
authored
Nov 22, 2004
by
dlenev@brandersnatch.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport of fix making myisam test results repeatable
parent
64cd633f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+1
-0
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+2
-1
No files found.
mysql-test/r/myisam.result
View file @
30f0c495
...
@@ -529,6 +529,7 @@ show keys from t1;
...
@@ -529,6 +529,7 @@ show keys from t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
t1 1 a 1 a A NULL NULL NULL YES BTREE disabled
t1 1 a 1 a A NULL NULL NULL YES BTREE disabled
create table t2 (a int);
create table t2 (a int);
set @@rand_seed1=31415926,@@rand_seed2=2718281828;
insert t1 select * from t2;
insert t1 select * from t2;
show keys from t1;
show keys from t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
...
...
mysql-test/t/myisam.test
View file @
30f0c495
...
@@ -498,11 +498,12 @@ alter table t1 disable keys;
...
@@ -498,11 +498,12 @@ alter table t1 disable keys;
show
keys
from
t1
;
show
keys
from
t1
;
create
table
t2
(
a
int
);
create
table
t2
(
a
int
);
let
$i
=
1000
;
let
$i
=
1000
;
set
@@
rand_seed1
=
31415926
,
@@
rand_seed2
=
2718281828
;
--
disable_query_log
--
disable_query_log
while
(
$i
)
while
(
$i
)
{
{
dec
$i
;
dec
$i
;
eval
insert
t2
values
(
rand
()
*
100000
);
insert
t2
values
(
rand
()
*
100000
);
}
}
--
enable_query_log
--
enable_query_log
insert
t1
select
*
from
t2
;
insert
t1
select
*
from
t2
;
...
...
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