lp:~stewart/drizzle/nofrm
The continuing story of the banashing of FRM
- Get this branch:
- bzr branch lp:~stewart/drizzle/nofrm
Branch merges
- Drizzle Developers: Pending requested
Related bugs
Bug #329947: load data infile ENOENT crashes server | Low | Fix Released |
Related blueprints
Branch information
Recent revisions
- 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 - 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").
- 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)