~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/func_like.result

  • Committer: Monty Taylor
  • Date: 2008-09-13 20:24:20 UTC
  • mfrom: (383.1.35 drizzle)
  • Revision ID: monty@inaugust.com-20080913202420-lkj76ewbabl8ljvp
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test");
4
4
explain extended select * from t1 where a like 'abc%';
5
5
id      select_type     table   type    possible_keys   key     key_len ref     rows    filtered        Extra
6
 
1       SIMPLE  t1      index   a       a       13      NULL    5       40.00   Using where; Using index
 
6
1       SIMPLE  t1      index   a       a       43      NULL    5       40.00   Using where; Using index
7
7
Warnings:
8
8
Note    1003    select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like 'abc%')
9
9
explain extended select * from t1 where a like concat('abc','%');
10
10
id      select_type     table   type    possible_keys   key     key_len ref     rows    filtered        Extra
11
 
1       SIMPLE  t1      index   a       a       13      NULL    5       40.00   Using where; Using index
 
11
1       SIMPLE  t1      index   a       a       43      NULL    5       40.00   Using where; Using index
12
12
Warnings:
13
13
Note    1003    select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like concat('abc','%'))
14
14
select * from t1 where a like "abc%";