summaryrefslogtreecommitdiff
path: root/mysql-test/r/select.result
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-11-26 02:31:22 +0200
committerunknown <monty@mysql.com>2004-11-26 02:31:22 +0200
commit60af920628c435a5990c3ef7a753d0f374fc12cc (patch)
treef3f4600d006f2d2d7d31180814236decb181095f /mysql-test/r/select.result
parentfecd27a1063ef32c7d1d3149321323de2c943364 (diff)
downloadmariadb-git-60af920628c435a5990c3ef7a753d0f374fc12cc.tar.gz
Fixes while reviewing code
(Cleanups and better bug fixes) mysql-test/r/select.result: Fixed test after wrong merge mysql-test/t/select.test: Fixed test after wrong merge scripts/mysql_fix_privilege_tables.sh: Don't read defaults files sql/item_cmpfunc.cc: Fix wrong value for not_null_tables_cache sql/item_cmpfunc.h: Remove wrong patch (flags are set in fix_length_and_dec()) sql/item_func.h: Fix wrong value for not_null_tables_cache sql/slave.cc: Fixed indentation
Diffstat (limited to 'mysql-test/r/select.result')
-rw-r--r--mysql-test/r/select.result32
1 files changed, 16 insertions, 16 deletions
diff --git a/mysql-test/r/select.result b/mysql-test/r/select.result
index 3dd0603ed09..cc90547722f 100644
--- a/mysql-test/r/select.result
+++ b/mysql-test/r/select.result
@@ -2327,22 +2327,6 @@ select * from t2,t3 where t2.s = t3.s;
s s
two two
drop table t1, t2, t3;
-CREATE TABLE t1 (
-i int(11) NOT NULL default '0',
-c char(10) NOT NULL default '',
-PRIMARY KEY (i),
-UNIQUE KEY c (c)
-) TYPE=MyISAM;
-INSERT INTO t1 VALUES (1,'a');
-INSERT INTO t1 VALUES (2,'b');
-INSERT INTO t1 VALUES (3,'c');
-EXPLAIN SELECT i FROM t1 WHERE i=1;
-table type possible_keys key key_len ref rows Extra
-t1 const PRIMARY PRIMARY 4 const 1 Using index
-EXPLAIN SELECT i FROM t1 WHERE i=1;
-table type possible_keys key key_len ref rows Extra
-t1 const PRIMARY PRIMARY 4 const 1 Using index
-DROP TABLE t1;
create table t1 (a integer, b integer, index(a), index(b));
create table t2 (c integer, d integer, index(c), index(d));
insert into t1 values (1,2), (2,2), (3,2), (4,2);
@@ -2364,3 +2348,19 @@ a b c d
3 2 3 4
4 2 4 4
drop table t1, t2;
+CREATE TABLE t1 (
+i int(11) NOT NULL default '0',
+c char(10) NOT NULL default '',
+PRIMARY KEY (i),
+UNIQUE KEY c (c)
+) TYPE=MyISAM;
+INSERT INTO t1 VALUES (1,'a');
+INSERT INTO t1 VALUES (2,'b');
+INSERT INTO t1 VALUES (3,'c');
+EXPLAIN SELECT i FROM t1 WHERE i=1;
+table type possible_keys key key_len ref rows Extra
+t1 const PRIMARY PRIMARY 4 const 1 Using index
+EXPLAIN SELECT i FROM t1 WHERE i=1;
+table type possible_keys key key_len ref rows Extra
+t1 const PRIMARY PRIMARY 4 const 1 Using index
+DROP TABLE t1;