~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/distinct.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:
469
469
#
470
470
# Bug #34928: Confusion by having Primary Key and Index
471
471
#
472
 
CREATE TABLE t1(a INT, b INT, c INT, d INT, e INT,
 
472
CREATE TABLE t1(a INT, b INT, c INT, d INT DEFAULT 0, e INT DEFAULT 0,
473
473
                PRIMARY KEY(a,b,c,d,e),
474
474
                KEY(a,b,d,c)
475
475
);