~stewart/drizzle/embedded-innodb-rnd-read

« back to all changes in this revision

Viewing changes to tests/r/negation_elimination.result

  • Committer: Stewart Smith
  • Date: 2010-04-06 07:37:28 UTC
  • mfrom: (1310.1.44)
  • Revision ID: stewart@flamingspork.com-20100406073728-ml0gfkm3n3yq3lj3
Merged embedded-innodb-write-row into embedded-innodb-rnd-read.

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
3       1
386
386
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));
387
387
id      select_type     table   type    possible_keys   key     key_len ref     rows    filtered        Extra
388
 
1       SIMPLE  t1      index   NULL    a       5       NULL    21      100.00  Using where; Using index
 
388
1       SIMPLE  t1      index   NULL    a       5       NULL    #       100.00  Using where; Using index
389
389
Warnings:
390
390
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`
391
391
drop table t1;