diff options
author | monty@hundin.mysql.fi <> | 2002-03-12 11:38:22 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-03-12 11:38:22 +0200 |
commit | a01775c5ebf9d6a8386621f01408514f82bab1da (patch) | |
tree | c217663c9f7a4fba0c5a00acb72b3e980954f780 /mysql-test | |
parent | ed8fc0b0c647dbcd86ecc09f8c15ecd82c0e223e (diff) | |
download | mariadb-git-a01775c5ebf9d6a8386621f01408514f82bab1da.tar.gz |
Added help for --local-infile
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
Allow SET PASSWORD for anonymous user
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/create.result | 37 | ||||
-rw-r--r-- | mysql-test/t/create.test | 8 |
2 files changed, 45 insertions, 0 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result index 7940d51868a..88d597bd3d7 100644 --- a/mysql-test/r/create.result +++ b/mysql-test/r/create.result @@ -12,3 +12,40 @@ table type possible_keys key key_len ref rows Extra t2 ref B B 21 const 1 where used a B 3 world +Table Create Table +t1 CREATE TABLE `t1` ( + `a` int(11) NOT NULL default '0', + `b` int(11) default NULL, + PRIMARY KEY (`a`), + KEY `b` (`b`), + KEY `b_2` (`b`), + KEY `b_3` (`b`), + KEY `b_4` (`b`), + KEY `b_5` (`b`), + KEY `b_6` (`b`), + KEY `b_7` (`b`), + KEY `b_8` (`b`), + KEY `b_9` (`b`), + KEY `b_10` (`b`), + KEY `b_11` (`b`), + KEY `b_12` (`b`), + KEY `b_13` (`b`), + KEY `b_14` (`b`), + KEY `b_15` (`b`), + KEY `b_16` (`b`), + KEY `b_17` (`b`), + KEY `b_18` (`b`), + KEY `b_19` (`b`), + KEY `b_20` (`b`), + KEY `b_21` (`b`), + KEY `b_22` (`b`), + KEY `b_23` (`b`), + KEY `b_24` (`b`), + KEY `b_25` (`b`), + KEY `b_26` (`b`), + KEY `b_27` (`b`), + KEY `b_28` (`b`), + KEY `b_29` (`b`), + KEY `b_30` (`b`), + KEY `b_31` (`b`) +) TYPE=MyISAM diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test index d45d013c9fb..1a829eec6a3 100644 --- a/mysql-test/t/create.test +++ b/mysql-test/t/create.test @@ -69,3 +69,11 @@ create table t2 (key (b)) select * from t1; explain select * from t2 where b="world"; select * from t2 where b="world"; drop table t1,t2; + +# +# Test of primary key with 32 index +# + +create table t1 (a int not null, b int, primary key(a), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b)); +show create table t1; +drop table t1; |