diff options
author | unknown <sanja@askmonty.org> | 2011-07-21 12:29:00 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2011-07-21 12:29:00 +0300 |
commit | ee06e4d65e42d303389605f3d30cbf0892be96af (patch) | |
tree | 6069baa8733db22e01a8024bc2bcb48488b56036 /mysql-test/r/negation_elimination.result | |
parent | cbf48eb4ae7ab32ee45ec8143f15112eb379f7f5 (diff) | |
download | mariadb-git-ee06e4d65e42d303389605f3d30cbf0892be96af.tar.gz |
Removed incorrect fix and its test suite (the test suit is duplicate).
Fixed explains of previous patch.
mysql-test/r/explain.result:
Fixed explains of previous patch.
mysql-test/r/join_outer.result:
Fixed explains of previous patch.
mysql-test/r/negation_elimination.result:
Fixed explains of previous patch.
mysql-test/r/view.result:
Fixed explains of previous patch.
mysql-test/suite/innodb/r/innodb_mysql.result:
Removed duplicate test suite.
mysql-test/suite/innodb/t/innodb_mysql.test:
Removed duplicate test suite.
mysql-test/suite/innodb_plugin/r/innodb_mysql.result:
Removed duplicate test suite.
mysql-test/suite/innodb_plugin/t/innodb_mysql.test:
Removed duplicate test suite.
sql/opt_range.h:
Removed incorrect fix.
sql/records.cc:
Removed incorrect fix.
Diffstat (limited to 'mysql-test/r/negation_elimination.result')
-rw-r--r-- | mysql-test/r/negation_elimination.result | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/negation_elimination.result b/mysql-test/r/negation_elimination.result index 91a4c273832..af48002ed0f 100644 --- a/mysql-test/r/negation_elimination.result +++ b/mysql-test/r/negation_elimination.result @@ -4,7 +4,7 @@ insert into t1 values (NULL), (0), (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), (18), (19); explain select * from t1 where not(not(a)); id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 index NULL a 5 NULL 21 Using where; Using index +1 SIMPLE t1 range a a 5 NULL 20 Using where; Using index select * from t1 where not(not(a)); a 1 @@ -385,7 +385,7 @@ NULL NULL 3 1 explain extended select a, not(not(a)), not(a <= 2 and not(a)), not(a not like "1"), not (a not in (1,2)), not(a != 2) from t1 where not(not(a)) having not(not(a)); id select_type table type possible_keys key key_len ref rows filtered Extra -1 SIMPLE t1 index NULL a 5 NULL 5 100.00 Using where; Using index +1 SIMPLE t1 range a a 5 NULL 4 100.00 Using where; Using index Warnings: -Note 1003 select `test`.`t1`.`a` AS `a`,(`test`.`t1`.`a` <> 0) AS `not(not(a))`,((`test`.`t1`.`a` > 2) or `test`.`t1`.`a`) AS `not(a <= 2 and not(a))`,(`test`.`t1`.`a` like '1') AS `not(a not like "1")`,(`test`.`t1`.`a` in (1,2)) AS `not (a not in (1,2))`,(`test`.`t1`.`a` = 2) AS `not(a != 2)` from `test`.`t1` where `test`.`t1`.`a` having `test`.`t1`.`a` +Note 1003 select `test`.`t1`.`a` AS `a`,(`test`.`t1`.`a` <> 0) AS `not(not(a))`,((`test`.`t1`.`a` > 2) or `test`.`t1`.`a`) AS `not(a <= 2 and not(a))`,(`test`.`t1`.`a` like '1') AS `not(a not like "1")`,(`test`.`t1`.`a` in (1,2)) AS `not (a not in (1,2))`,(`test`.`t1`.`a` = 2) AS `not(a != 2)` from `test`.`t1` where (`test`.`t1`.`a` <> 0) having (`test`.`t1`.`a` <> 0) drop table t1; |