~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/endspace.result

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 00:53:34 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913005334-6wio2sbjugskfbm3
Added calls to the connection start/end dtrace probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
explain select * from t1 order by text1;
46
46
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
47
47
1       SIMPLE  t1      index   NULL    key1    130     NULL    3       Using index
48
 
alter table t1 modify text1 char(32) not null;
 
48
alter table t1 modify text1 char(32) binary not null;
49
49
check table t1;
50
50
Table   Op      Msg_type        Msg_text
51
51
test.t1 check   status  OK
66
66
nothing 7
67
67
teststring              11
68
68
teststring      10
69
 
select text1, length(text1) from t1 order by text1;
 
69
select text1, length(text1) from t1 order by binary text1;
70
70
text1   length(text1)
71
71
nothing 7
 
72
teststring      10
72
73
teststring              11
73
 
teststring      10
74
74
alter table t1 modify text1 blob not null, drop key key1, add key key1 (text1(20));
75
75
insert into t1 values ('teststring ');
76
76
select concat('|', text1, '|') from t1 order by text1;
132
132
|teststring     |
133
133
|teststring|
134
134
drop table t1;
135
 
create temporary table t1 (text1 varchar(32) not NULL, KEY key1 using BTREE (text1)) engine=MEMORY;
 
135
create temporary table t1 (text1 varchar(32) not NULL, KEY key1 using BTREE (text1)) engine=heap;
136
136
insert into t1 values ('teststring'), ('nothing'), ('teststring\t');
137
137
select * from t1 ignore key (key1) where text1='teststring' or 
138
138
text1 like 'teststring_%' ORDER BY text1;
155
155
explain select * from t1 order by text1;
156
156
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
157
157
1       SIMPLE  t1      ALL     NULL    NULL    NULL    NULL    3       Using filesort
158
 
alter table t1 modify text1 char(32) not null;
 
158
alter table t1 modify text1 char(32) binary not null;
159
159
select * from t1 order by text1;
160
160
text1
161
161
nothing
182
182
explain select * from t1 order by text1;
183
183
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
184
184
1       SIMPLE  t1      index   NULL    key1    130     NULL    3       Using index
185
 
alter table t1 modify text1 char(32) not null;
 
185
alter table t1 modify text1 char(32) binary not null;
186
186
select * from t1 order by text1;
187
187
text1
188
188
nothing