~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/key.result

  • Committer: Stewart Smith
  • Date: 2009-05-17 06:56:36 UTC
  • mto: (991.1.7 for-brian)
  • mto: This revision was merged to the branch mainline in revision 1029.
  • Revision ID: stewart@flamingspork.com-20090517065636-nx33k4pgw1oflwzw
fix test result now that I fixed SHOW CREATE TABLE

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
t1      CREATE TABLE `t1` (
211
211
  `c` varchar(30) DEFAULT NULL,
212
212
  `t` text,
213
 
  UNIQUE KEY `c` (`c`()),
214
 
  UNIQUE KEY `t` (`t`())
 
213
  UNIQUE KEY `c` (`c`(2)),
 
214
  UNIQUE KEY `t` (`t`(3))
215
215
) ENGINE=MyISAM
216
216
insert t1 values ('cccc', 'tttt'),
217
217
(0xD0B1212223D0B1D0B1D0B1D0B1D0B1, 0xD0B1D0B1212223D0B1D0B1D0B1D0B1),
440
440
  KEY `i3` (`c3`),
441
441
  KEY `i2` (`c2`),
442
442
  KEY `i4` (`c4`),
443
 
  KEY `c2` (`c2`(),`c3`())
 
443
  KEY `c2` (`c2`(4),`c3`(7))
444
444
) ENGINE=InnoDB
445
445
insert into t1 values(1, 'a', 'a', NULL);
446
446
insert into t1 values(1, 'b', 'b', NULL);
504
504
  `b` varchar(10) NOT NULL,
505
505
  `c` varchar(4) NOT NULL,
506
506
  UNIQUE KEY `cc` (`c`),
507
 
  UNIQUE KEY `bb` (`b`()),
 
507
  UNIQUE KEY `bb` (`b`(1)),
508
508
  KEY `aa` (`a`)
509
509
) ENGINE=InnoDB
510
510
drop table t1;
529
529
  `b` varchar(10) NOT NULL,
530
530
  `c` varchar(4) NOT NULL,
531
531
  UNIQUE KEY `cc` (`c`),
532
 
  UNIQUE KEY `bb` (`b`()),
 
532
  UNIQUE KEY `bb` (`b`(1)),
533
533
  KEY `aa` (`a`)
534
534
) ENGINE=InnoDB
535
535
drop table t1;