~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/key.result

Read Fields out of proto instead of FRM.

As non-radioactive fallout:
- no implicit defaults (see http://bugs.mysql.com/bug.php?id=43151)
- no real defaults for BLOB yet... but this paves the way (and it shouldn't be too hard now)

As radioactive fallout:
- parse_table_proto is approaching the length of War and Peace
- handling of corrupted proto is about non-existant. abort() is not ideal

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
Table   Create Table
398
398
t1      CREATE TABLE `t1` (
399
399
  `c1` int DEFAULT NULL,
400
 
  `c2` varchar(12) NOT NULL DEFAULT '',
401
 
  `c3` varchar(123) NOT NULL DEFAULT '',
 
400
  `c2` varchar(12) NOT NULL,
 
401
  `c3` varchar(123) NOT NULL,
402
402
  `c4` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
403
403
  PRIMARY KEY (`c2`,`c3`),
404
404
  UNIQUE KEY `i4` (`c4`),
429
429
show create table t1;
430
430
Table   Create Table
431
431
t1      CREATE TABLE `t1` (
432
 
  `c1` int NOT NULL DEFAULT '0',
433
 
  `c2` varchar(12) NOT NULL DEFAULT '',
434
 
  `c3` varchar(123) NOT NULL DEFAULT '',
 
432
  `c1` int NOT NULL,
 
433
  `c2` varchar(12) NOT NULL,
 
434
  `c3` varchar(123) NOT NULL,
435
435
  `c4` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
436
436
  KEY `i1` (`c1`),
437
437
  KEY `i5` (`c1`,`c2`,`c3`,`c4`),