Commit e5f395f9 authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

Merge bk-internal:/home/bk/mysql-5.1-maint

into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
parents 468a954e b2ec2103
...@@ -922,27 +922,7 @@ SET @@myisam_repair_threads=1; ...@@ -922,27 +922,7 @@ SET @@myisam_repair_threads=1;
SHOW VARIABLES LIKE 'myisam_repair%'; SHOW VARIABLES LIKE 'myisam_repair%';
Variable_name Value Variable_name Value
myisam_repair_threads 1 myisam_repair_threads 1
show create table t1; End of 4.1 tests
Table Create Table
t1 CREATE TEMPORARY TABLE `t1` (
`a` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='MYSQL_TEST_DIR/var/log/'
show create table t1;
Table Create Table
t1 CREATE TEMPORARY TABLE `t1` (
`a` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='MYSQL_TEST_DIR/var/log/'
create table t1 (a int) engine=myisam select 42 a;
select * from t1;
a
9
select * from t1;
a
99
select * from t1;
a
42
drop table t1;
set storage_engine=MyISAM; set storage_engine=MyISAM;
drop table if exists t1,t2,t3; drop table if exists t1,t2,t3;
--- Testing varchar --- --- Testing varchar ---
...@@ -1611,7 +1591,6 @@ show keys from t1; ...@@ -1611,7 +1591,6 @@ 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 8 NULL NULL YES BTREE t1 1 a 1 a A 8 NULL NULL YES BTREE
drop table t1; drop table t1;
End of 4.1 tests
create table t1 (c1 int) engine=myisam pack_keys=0; create table t1 (c1 int) engine=myisam pack_keys=0;
create table t2 (c1 int) engine=myisam pack_keys=1; create table t2 (c1 int) engine=myisam pack_keys=1;
create table t3 (c1 int) engine=myisam pack_keys=default; create table t3 (c1 int) engine=myisam pack_keys=default;
......
...@@ -132,3 +132,5 @@ select * from t1; ...@@ -132,3 +132,5 @@ select * from t1;
a a
42 42
drop table t1; drop table t1;
End of 4.1 tests
End of 5.0 tests
...@@ -846,6 +846,10 @@ DROP TABLE t1; ...@@ -846,6 +846,10 @@ DROP TABLE t1;
# #
SET @@myisam_repair_threads=1; SET @@myisam_repair_threads=1;
SHOW VARIABLES LIKE 'myisam_repair%'; SHOW VARIABLES LIKE 'myisam_repair%';
--echo End of 4.1 tests
# Test varchar # Test varchar
# #
...@@ -943,7 +947,6 @@ show keys from t1; ...@@ -943,7 +947,6 @@ show keys from t1;
drop table t1; drop table t1;
--echo End of 4.1 tests
# #
# Bug#10056 - PACK_KEYS option take values greater than 1 while creating table # Bug#10056 - PACK_KEYS option take values greater than 1 while creating table
......
...@@ -176,4 +176,6 @@ connection default; ...@@ -176,4 +176,6 @@ connection default;
select * from t1; select * from t1;
drop table t1; drop table t1;
# End of 4.1 tests --echo End of 4.1 tests
--echo End of 5.0 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment