~vkolesnikov/pbxt/pbxt-preload-test-bug

« back to all changes in this revision

Viewing changes to pbxt/mysql-test-update/mysql-test/r/ctype_utf8.result

  • Committer: paul-mccullagh
  • Date: 2008-03-10 11:36:34 UTC
  • Revision ID: paul-mccullagh-417ebf175a9c8ee6e5b3777d9e2398e1fb197391
Implemented full durability

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
41
242
242
drop table t1;
243
243
create table t1 (a text character set utf8, primary key(a(720)));
244
 
ERROR 42000: Specified key was too long; max key length is 1020 bytes
 
244
ERROR 42000: Specified key was too long; max key length is 2044 bytes
245
245
CREATE TABLE t1 ( a varchar(10) ) CHARACTER SET utf8;
246
246
INSERT INTO t1 VALUES ( 'test' );
247
247
SELECT a.a, b.a FROM t1 a, t1 b WHERE a.a = b.a;
1443
1443
select substr(Z.a,-1), Z.a from t1 as Y join t1 as Z on Y.a=Z.a order by 1;
1444
1444
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
1445
1445
1       SIMPLE  Y       ALL     NULL    NULL    NULL    NULL    2       Using temporary; Using filesort
1446
 
1       SIMPLE  Z       ALL     NULL    NULL    NULL    NULL    2       Using where
 
1446
1       SIMPLE  Z       ALL     NULL    NULL    NULL    NULL    2       Using where; Using join buffer
1447
1447
select substr(Z.a,-1), Z.a from t1 as Y join t1 as Z on Y.a=Z.a order by 1;
1448
1448
substr(Z.a,-1)  a
1449
1449
3       123