~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect.test

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:
521
521
CREATE TABLE `t1` (
522
522
  `mot` varchar(30) NOT NULL default '',
523
523
  `topic` bigint NOT NULL default '0',
524
 
  `date` date NULL,
 
524
  `date` date NULL DEFAULT '2009-01-20',
525
525
  `pseudo` varchar(35) NOT NULL default '',
526
526
  PRIMARY KEY  (`mot`,`pseudo`,`date`,`topic`),
527
527
  KEY `pseudo` (`pseudo`,`date`,`topic`),
531
531
CREATE TABLE `t2` (
532
532
  `mot` varchar(30) NOT NULL default '',
533
533
  `topic` bigint NOT NULL default '0',
534
 
  `date` date NULL,
 
534
  `date` date NULL default '1997-08-29',
535
535
  `pseudo` varchar(35) NOT NULL default '',
536
536
  PRIMARY KEY  (`mot`,`pseudo`,`date`,`topic`),
537
537
  KEY `pseudo` (`pseudo`,`date`,`topic`),