lp:~stewart/drizzle/nofrm

Created by Stewart Smith and last modified

The continuing story of the banashing of FRM

Get this branch:
bzr branch lp:~stewart/drizzle/nofrm
Only Stewart Smith can upload to this branch. If you are Stewart Smith please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Stewart Smith
Project:
Drizzle
Status:
Merged

Recent revisions

907. By Stewart Smith

create proper null terminated string in fix_fields_vcol_func

906. By Stewart Smith

correctly store virtual column expression in proto

905. By Stewart Smith

fix table_reader for virtual columns

904. By Stewart Smith

merge mainline

903. By Stewart Smith

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

902. By Stewart Smith

fix indentation so I can remotely read the function.

901. By Stewart Smith

Create default_values record from proto instead of reading from FRM. assert if different to FRM.

Restore the "blob can't have default value" error message.

Fix default values for: blob, vachar, enum and varbinary.
Default value for a BLOB can be "" thanks to TINYTEXT or something.
proto now has default_bin_value as well as default_value. the default_bin_value used for varbinary and in future, blobs.

Load enum values out of proto instead of FRM and fill in the crazy interval structures.

Jay will fix up the create.test change (incorrect datetime for timestamp "0").

900. By Stewart Smith

merge mainline

899. By Stewart Smith

merge mainline

898. By Stewart Smith

Start generating a record buffer with default values in proto read path instead of FRM write path.

Also (temporarily), just store pack_flag for Field in proto.
pack_flag is the "has been shown to cause cancer in rats" member variable.

We don't use this record buffer yet, but test suite passes.

A commit in near future will add an assert to test that our generated one here is same as one in frm.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar RepositoryFormatKnitPack5 (bzr 1.6)
This branch contains Public information 
Everyone can see this information.

Subscribers